The main factors wich determine wether you need visa to Hungary or not are our nationality, the expected duration of your stay.
Hungary is a member state of the European Union, so from citizens of the EU and EEA (European Economic Area) countries do not required a visa. The only documentation required of them is either their passport or identity card.
Citizens of non-EU and non-EEA citizens must apply for a resident visa for study purposes at the nearest Hungarian Embassy or Consulate.
For more information please check the Student Life.