Countries API - CountriesDB

Hungary

ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Hungary. Use them in forms, validation, and CountriesDB integrations.

About Hungary codes

Need Hungary (HU) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.

This guide lists 43 official ISO 3166-2 subdivisions for Hungary. These are the same codes CountriesDB serves through widgets and the Backend Data API.

For production, use the CountriesDB country/subdivision widget or fetch Hungary from the Data API and validate codes server-side instead of copying values from this page.

ISO codes

  • Alpha-2HU
  • Alpha-3HUN
  • Numeric348
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (43)

Official ISO 3166-2 codes for Hungary. Use these values in region/state selects and server-side validation, not informal or marketing region names.

CodeNameType
HU-BKBács-Kiskuncounty
HU-BABaranyacounty
HU-BEBékéscounty
HU-BCBékéscsabacity with county rights
HU-BZBorsod-Abaúj-Zempléncounty
HU-BUBudapestcapital city
HU-CSCsongrád-Csanádcounty
HU-DEDebrecencity with county rights
HU-DUDunaújvároscity with county rights
HU-EGEgercity with county rights
HU-ERÉrdcity with county rights
HU-FEFejércounty
HU-GYGyőrcity with county rights
HU-GSGyőr-Moson-Soproncounty
HU-HBHajdú-Biharcounty
HU-HEHevescounty
HU-HVHódmezővásárhelycity with county rights
HU-JNJász-Nagykun-Szolnokcounty
HU-KVKaposvárcity with county rights
HU-KMKecskemétcity with county rights
HU-KEKomárom-Esztergomcounty
HU-MIMiskolccity with county rights
HU-NKNagykanizsacity with county rights
HU-NONógrádcounty
HU-NYNyíregyházacity with county rights
HU-PSPécscity with county rights
HU-PEPestcounty
HU-STSalgótarjáncity with county rights
HU-SOSomogycounty
HU-SNSoproncity with county rights
HU-SZSzabolcs-Szatmár-Beregcounty
HU-SDSzegedcity with county rights
HU-SFSzékesfehérvárcity with county rights
HU-SSSzekszárdcity with county rights
HU-SKSzolnokcity with county rights
HU-SHSzombathelycity with county rights
HU-TBTatabányacity with county rights
HU-TOTolnacounty
HU-VAVascounty
HU-VEVeszprémcounty
HU-VMVeszprémcity with county rights
HU-ZAZalacounty
HU-ZEZalaegerszegcity with county rights

Frequently asked questions

What is the ISO 3166-1 code for Hungary?
Hungary uses ISO 3166-1 alpha-2 HU, alpha-3 HUN, and numeric 348. These codes show up in forms, shipping, banking, and APIs.
How many official ISO 3166-2 subdivisions does Hungary have?
CountriesDB lists 43 official ISO 3166-2 subdivisions for Hungary (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
How do I use Hungary country and subdivision data in a form?
Use the CountriesDB widget or Data API to fill country and subdivision selects for Hungary, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.

Use Hungary in your app

Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Hungary (HU) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.