* Ιωάννης (Iōánnēs): This is the most common and traditional form, representing the full, formal Greek name.
* Ιωάννας (Iōánnas): This is a less formal, shorter version, primarily used as a given name. It's a genitive form, and therefore not perfectly equivalent to "John," but commonly understood as such.
* Γιάννης (Giánnēs): This is a common, familiar diminutive form, used widely in everyday conversation. It's closer to a nickname.
So, the best choice depends on the context. For formal writing, Ιωάννης is best. For informal settings or dialogue, Γιάννης might be more appropriate.