Question: what episode does jon snow find out who he is?
Answer: The season 7 finale episode "The Dragon and the Wolf" confirmed that Jon is indeed the legitimate son of Rhaegar and Lyanna, and that his birth name is actually Aegon Targaryen.