Indonesia
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Indonesia. Use them in forms, validation, and CountriesDB integrations.
About Indonesia codes
Need Indonesia (ID) 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 45 official ISO 3166-2 subdivisions for Indonesia. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch Indonesia from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (45)
Official ISO 3166-2 codes for Indonesia. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| ID-AC | Aceh | province |
| ID-BA | Bali | province |
| ID-BT | Banten | province |
| ID-BE | Bengkulu | province |
| ID-GO | Gorontalo | province |
| ID-JK | Jakarta Raya | capital district |
| ID-JA | Jambi | province |
| ID-JW | Jawa | geographical unit |
| ID-JB | Jawa Barat | province |
| ID-JT | Jawa Tengah | province |
| ID-JI | Jawa Timur | province |
| ID-KA | Kalimantan | geographical unit |
| ID-KB | Kalimantan Barat | province |
| ID-KS | Kalimantan Selatan | province |
| ID-KT | Kalimantan Tengah | province |
| ID-KI | Kalimantan Timur | province |
| ID-KU | Kalimantan Utara | province |
| ID-BB | Kepulauan Bangka Belitung | province |
| ID-KR | Kepulauan Riau | province |
| ID-LA | Lampung | province |
| ID-ML | Maluku | geographical unit |
| ID-MA | Maluku | province |
| ID-MU | Maluku Utara | province |
| ID-NU | Nusa Tenggara | geographical unit |
| ID-NB | Nusa Tenggara Barat | province |
| ID-NT | Nusa Tenggara Timur | province |
| ID-PA | Papua | province |
| ID-PP | Papua | geographical unit |
| ID-PB | Papua Barat | province |
| ID-PD | Papua Barat Daya | province |
| ID-PE | Papua Pegunungan | province |
| ID-PS | Papua Selatan | province |
| ID-PT | Papua Tengah | province |
| ID-RI | Riau | province |
| ID-SL | Sulawesi | geographical unit |
| ID-SR | Sulawesi Barat | province |
| ID-SN | Sulawesi Selatan | province |
| ID-ST | Sulawesi Tengah | province |
| ID-SG | Sulawesi Tenggara | province |
| ID-SA | Sulawesi Utara | province |
| ID-SM | Sumatera | geographical unit |
| ID-SB | Sumatera Barat | province |
| ID-SS | Sumatera Selatan | province |
| ID-SU | Sumatera Utara | province |
| ID-YO | Yogyakarta | special region |
Frequently asked questions
- What is the ISO 3166-1 code for Indonesia?
- Indonesia uses ISO 3166-1 alpha-2 ID, alpha-3 IDN, and numeric 360. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does Indonesia have?
- CountriesDB lists 45 official ISO 3166-2 subdivisions for Indonesia (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use Indonesia country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for Indonesia, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use Indonesia in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Indonesia (ID) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.