Multiple endings

Some games in the Final Fantasy series have multiple or secret endings, the game's ending depending on the player's actions taken during the game.

Final Fantasy V
The ending sequence depends on who is left alive at the end of the final battle. If everyone is left alive the Warriors of Light return to their lives in their new world, and one of the survivors sends a letter to Mid Previa about what has been going on since the final battle. If everybody survives, the sender of the letter will be Krile. The Warriors of Light meet up at the Great Forest of Moore and decide to embark on another adventure to keep on protecting the crystals of the world.

If, however, one or more characters are knocked out at the end of the final battle, they won't be able to leave the Void and are left behind. The ending progresses as normal but the other characters are mourning for their lost comrade(s) and wonder if they were really swallowed into the Void. When the remaining Light Warriors gather at the Great Tree the Warriors of Dawn appear and bring back any lost party members, saying it's not their time yet to join them, and the four are once again reunited.

Final Fantasy VI
The ending sequence depends on who the player has recruited back into the party by the time they fight the final boss. Celes, Sabin, Edgar and Setzer are the only mandatory members for the final battle, and Terra will appear after the battle to take part in the ending, regardless of whether she was recruited into the party or not. The more party members the player has, the more ending sequences they get and the content of the ending sequences varies slightly depending who is included.

Dirge of Cerberus -Final Fantasy VII-
The player can unlock the secret ending that shows Genesis Rhapsodos (played by Gackt) waking up in an underground cave, if they collect all G Reports during the game.

Final Fantasy IX
The player can unlock an extra scene in the ending by having the Hammer in the inventory during the ending sequences. The Hammer can be obtained as the final prize from Queen Stella at the Stellazzio coins sidequest. The extra scene shows a longer scene of the "I Want to Be Your Canary" play, where the lead of the play makes an allusion to Cloud Strife and Squall Leonhart, past protagonists in the Final Fantasy series.

Final Fantasy X-2
Final Fantasy X-2 has a few different endings. If the player loses the final battle Vegnagun will fire its cannon and destroy all of Spira. Defeating the final boss ends the game with Yuna, Rikku and Paine flying away on the Celsius while Nooj, Gippal and Baralai hold a speech at the Luca theater about Spira's future.

If, after getting the "Chapter 5 Complete" message, the player presses button ( in the Japanese version) Tidus will whistle at Yuna while she is crossing the Farplane Glen. If the player missed either talked to Maechen in Chateau Leblanc in chapter 3 or did not trigger Tidus's whistle at the Farplane when Yuna fell in at the end of Chapter 3, the player gets a scene where Tidus's spirit embraces Yuna, and Yuna says that she loves him, and that he will always he part of her. Tidus's spirit then disperses into pyreflies and disappears.

If the player talked to Maechen in Chateau Leblanc, got Tidus to whistle at Yuna four times on the Farplane during the time Yuna fell in at the end of Chapter 3, pressing after the "Chapter 5 Complete" message triggers Tidus's whistle, and a fayth appears on the glen asking Yuna if she wants to see Tidus again. If answered positively, Tidus will return at the end of the game and reunite with Yuna. If the player answers negatively to the fayth's question, Tidus will not return.

If the player achieves 100% completion, and tells the fayth they want Tidus to come back, they get an extra secret ending where Tidus and Yuna travel to Zanarkand together.

Final Fantasy XII: Revenant Wings
If the player completes all missions and defeats the final boss at level 99, they get a secret ending after the credits where Vaan and Penelo run away from Rabanastre together, suggesting a romantic connection between the two.

Final Fantasy XIII-2
It has been confirmed that Final Fantasy XIII-2 will feature multiple endings.

Dissidia Final Fantasy
If the player obtains all the Chaos and Cosmos Reports a secret ending is unlocked where Cosmos is revealed to be alive and well, and discuss the future of the world with Cid of the Lufaine.