🇭🇺Hungary Subdivisions
All 43 Hungary subdivisions with ISO 3166-2:HU codes - Europe / Eastern Europe
Total
43 subdivisions
Types
Capital city, City of county right, County
ISO Standard
ISO 3166-2:HU
Code Example
import { subdivision } from '@koshmoney/countries';
// Get all Hungary subdivisions
const subs = subdivision.getByCountry('HU');
// => 43 subdivisions
// Look up a specific subdivision
subdivision.get('HU-BA');
// => { code: 'HU-BA', name: 'Baranya', type: 'County' }
// Validate a subdivision code
subdivision.isValidCode('HU-BA'); // true
subdivision.isValidRegion('HU', 'BA'); // trueTree-Shaking Tip
Import only Hungary subdivisions to minimize bundle size:
// Import only Hungary subdivisions for smaller bundles
import { subdivisions } from '@koshmoney/countries/subdivision/HU';
Object.entries(subdivisions);
// => 43 entriesAll Hungary Subdivisions
Capital citys (1)
| Code | Name |
|---|---|
| HU-BU | Budapest |
City of county rights (23)
| Code | Name |
|---|---|
| HU-BC | Békéscsaba |
| HU-DE | Debrecen |
| HU-DU | Dunaújváros |
| HU-EG | Eger |
| HU-ER | Érd |
| HU-GY | Győr |
| HU-HV | Hódmezővásárhely |
| HU-KM | Kecskemét |
| HU-KV | Kaposvár |
| HU-MI | Miskolc |
| HU-NK | Nagykanizsa |
| HU-NY | Nyíregyháza |
| HU-PS | Pécs |
| HU-SD | Szeged |
| HU-SF | Székesfehérvár |
| HU-SH | Szombathely |
| HU-SK | Szolnok |
| HU-SN | Sopron |
| HU-SS | Szekszárd |
| HU-ST | Salgótarján |
| HU-TB | Tatabánya |
| HU-VM | Veszprém |
| HU-ZE | Zalaegerszeg |
Countys (19)
| Code | Name |
|---|---|
| HU-BA | Baranya |
| HU-BE | Békés |
| HU-BK | Bács-Kiskun |
| HU-BZ | Borsod-Abaúj-Zemplén |
| HU-CS | Csongrád |
| HU-FE | Fejér |
| HU-GS | Győr-Moson-Sopron |
| HU-HB | Hajdú-Bihar |
| HU-HE | Heves |
| HU-JN | Jász-Nagykun-Szolnok |
| HU-KE | Komárom-Esztergom |
| HU-NO | Nógrád |
| HU-PE | Pest |
| HU-SO | Somogy |
| HU-SZ | Szabolcs-Szatmár-Bereg |
| HU-TO | Tolna |
| HU-VA | Vas |
| HU-VE | Veszprém |
| HU-ZA | Zala |
FAQ
- How many subdivisions does Hungary have?
- Hungary has 43 subdivisions defined in ISO 3166-2:HU, including 1 capital citys, 23 city of county rights, 19 countys.
- What is the ISO 3166-2 code format for Hungary?
- Hungary subdivision codes follow the format HU-XX, where HU is the country's alpha-2 code and XX is the subdivision identifier. For example, HU-BA represents Baranya.
- How to get Hungary subdivisions in JavaScript?
- Install
@koshmoney/countriesvia npm, then usesubdivision.getByCountry('HU')to get all 43 subdivisions.
Use Hungary subdivision data in your project
Get all 43 Hungary subdivisions with ISO 3166-2 codes, plus countries, currencies, postal codes, and more.
npm install @koshmoney/countries