Khalili was part of the Sweden under-21 squad which won the 2015 European Championship, although his attempt in the final's penalty shootout was saved by Portugal's José Sá.