Of the 2D games, Final Fantasy V is my favorite, because of the feeling of grand, fantastic adventure I always got from it. Final Fantasy IV and VI probably share second place, being very different games in my opinion.
Of the 3D games, my favorite is Final Fantasy VII, with IX coming in close...