This listicle covers the official two-letter code for Indonesia—ID—along with its context, related codes, and practical applications. Whether you’re a developer working with ISO standards, a traveler booking flights, or a business handling international shipping, this guide gives you the specific details you need to use Indonesia’s codes correctly.
1. The ISO 3166-1 Alpha-2 Code: ID
The primary two-letter code for Indonesia is ID, assigned by the International Organization for Standardization under ISO 3166-1 alpha-2. This is the code used in virtually all international systems, including internet domain names (e.g., .id), banking transactions, and customs declarations. It is derived from the country’s official name, the Republic of Indonesia (Republik Indonesia), taking the first two letters of the name.
2. Why Not ‘IN’ or ‘IO’?
You might wonder why Indonesia isn’t ‘IN’ or ‘IO’. The ISO 3166 standard avoids conflicts: ‘IN’ is already assigned to India, and ‘IO’ refers to the British Indian Ocean Territory. The standard ensures each code is unique and unambiguous, so ‘ID’ was chosen as a clear, non-conflicting identifier. This prevents data errors in global systems where codes must be distinct.
3. The Alpha-3 Code: IDN
While the two-letter code is ‘ID’, Indonesia also has a three-letter code, IDN, under ISO 3166-1 alpha-3. This is often used in contexts where more specificity is needed, such as in international sports events (e.g., Olympic committees) or in some financial messaging systems like SWIFT. You’ll see ‘IDN’ on airline baggage tags and in some government databases.
4. Numeric Code: 360
ISO 3166-1 also assigns a three-digit numeric code to Indonesia: 360. This code is used in systems that rely on numbers rather than letters, such as the United Nations Statistical Division and certain shipping and customs systems. It’s particularly useful for countries that use non-Latin scripts, as numbers are universally understood.
5. Top-Level Domain: .id
Indonesia’s country-code top-level domain (ccTLD) is .id, directly derived from the two-letter code. This is used for Indonesian websites, with subdomains like .co.id for companies, .ac.id for academic institutions, and .go.id for government sites. If you’re registering a domain for an Indonesian business, you’ll typically choose a .co.id or .id address.
6. Vehicle Registration Code: RI
In the context of international vehicle registration, Indonesia uses the code RI (Republik Indonesia). This appears on the rear of vehicles when driving abroad and in international road transport agreements. It’s distinct from the ISO code but equally important for travelers and logistics companies operating across borders.
7. Civil Aviation and Airport Codes
For aviation, Indonesia uses the ICAO prefix WA (for the western part) and WR (for the eastern part), not the two-letter ISO code. However, the IATA airport codes for Indonesian cities often start with ‘D’ or ‘C’, such as CGK for Jakarta’s Soekarno-Hatta International Airport. Understanding this distinction helps when booking flights or working with air cargo.
8. Dialing Code and Currency Code
While not a two-letter code, Indonesia’s international dialing code is +62, and its currency code is IDR (Indonesian Rupiah). These are often confused with the country code in e-commerce and telecom systems. For example, when entering a phone number in a form, you might see ‘+62’ alongside the country field that uses ‘ID’.
9. ISO 3166-2 Subdivision Codes
Indonesia also has a set of subdivision codes under ISO 3166-2, which use the prefix ‘ID-‘ followed by a two-letter or three-letter code for provinces. For instance, Jakarta is ‘ID-JK’ and Bali is ‘ID-BA’. These are used in postal services, data analytics, and regional governance systems. If you’re working with Indonesian regional data, these codes are essential.
10. Practical Use in API and Database Design
When building an API or database that handles countries, using the ISO 3166-1 alpha-2 code ‘ID’ is best practice. It’s a stable, internationally recognized identifier that won’t change, unlike country names which can be localized. Many programming libraries (like country-list in npm) rely on these codes, so using ‘ID’ ensures compatibility with global systems.
How to Choose
When deciding which code to use, consider the context. For international standards compliance (e.g., web forms, payment gateways), always use the ISO alpha-2 code ‘ID’. For domain names, use ‘.id’. For vehicle registration or diplomatic plates, use ‘RI’. For aviation, rely on IATA/ICAO codes. The key is to match the code to the system you’re integrating with—never mix them up, as that can cause data mismatches.
Frequently Asked Questions
Q: Is Indonesia’s two-letter code ‘ID’ or ‘IN’?
A: It’s ‘ID’. ‘IN’ is reserved for India.
Q: Why does Indonesia use ‘RI’ on license plates?
A: ‘RI’ stands for Republik Indonesia and is the international vehicle registration code, not the ISO code.
Q: Can I use ‘IDN’ instead of ‘ID’?
A: Yes, but only in systems that accept alpha-3 codes. Most web forms and APIs use alpha-2, so ‘ID’ is safer.
Q: What does the numeric code 360 mean?
A: It’s the ISO 3166-1 numeric code for Indonesia, used in statistical and some shipping systems.
Q: How do I write a phone number with Indonesia’s code?
A: Use +62, then the local number without the leading ‘0’. For example, +62 21 1234567 for a Jakarta landline.
Q: Are there any exceptions to using ‘ID’?
A: In some legacy systems, you might see ‘IDN’ or ‘IND’, but ‘ID’ is the official standard.
Final Thoughts
Knowing Indonesia’s two-letter code ‘ID’ is just the start. The same standard extends to numeric and alpha-3 codes, plus specialized codes for domains, vehicles, and aviation. Using the correct code in each context prevents errors and ensures smooth international transactions. Keep this guide handy for your next project or trip.