In most European countries gender selection is not legal. In these countries the sex of the baby cannot be revealed to parents even if it is known.Additionally, preimplantation genetic testing (which would allow us to know the sex of the baby) may not be allowed, as it is illegal to remove cells from the embryo.The United States has no restrictions on knowing or choosing the sex of a baby.