The formation of a tube from the flat layer of ectodermal cells known as the neural plate. This will give rise to the central nervous system.