The Legend of Zelda games aren't told in the order they came out. Nintendo's official timeline puts them in story order, and after Ocarina of Time history splits into three branches, depending on how the Hero of Time's story ends. Every game below links to our guides for it.
The first Link and Zelda. The Master Sword is forged, and the defeated Demise swears his hatred will return forever.
Also: Skyward Sword HDThe Hero of Time stops Ganondorf, and what happens next splits history into three.
Also: Ocarina of Time 3D, Ocarina of Time (Remake)What if the Hero of Time had lost? Ganon takes the Triforce, and the Sages seal him away.
Shipwrecked on Koholint Island, Link must wake the Wind Fish to get home.
Also: Link's Awakening (2019)Link saves Holodrum and Labrynna from a plot to bring Ganon back.
Also: Oracle of AgesThe Hero of Time returns to his childhood and warns Zelda, so Ganondorf is stopped before he rises.
In Termina, Link relives the same three days to stop the moon from falling.
Also: Majora's Mask 3DA shadowy Twilight covers Hyrule, and Link fights back as a wolf.
Also: Twilight Princess HDThe hero leaves this future behind. When Ganon returns, no hero appears, and the gods flood Hyrule.
Hyrule lies beneath the Great Sea. A boy sets sail to rescue his sister.
Also: The Wind Waker HDBreath of the Wild and Tears of the Kingdom take place so far in the future that Nintendo deliberately keeps their link to the other games vague. Tears of the Kingdom and Age of Imprisonment also tell the story of the founding of Hyrule and the Imprisoning War, a legend from long ago.
Ganondorf awakens beneath Hyrule Castle, and pieces of the land rise into the sky.
The Imprisoning War from Tears of the Kingdom's ancient past, told as a battle game: Zelda fights alongside Rauru against Ganondorf.
The war of the Great Calamity, retold as an alternate history.
Three Philips-made games from 1993 to 1996 that Nintendo doesn't count as part of the story.