Japan
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Japan. Use them in forms, validation, and CountriesDB integrations.
About Japan codes
Need Japan (JP) 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 47 official ISO 3166-2 subdivisions for Japan. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch Japan from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (47)
Official ISO 3166-2 codes for Japan. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| JP-23 | Aichi | prefecture |
| JP-05 | Akita | prefecture |
| JP-02 | Aomori | prefecture |
| JP-12 | Chiba | prefecture |
| JP-38 | Ehime | prefecture |
| JP-18 | Fukui | prefecture |
| JP-40 | Fukuoka | prefecture |
| JP-07 | Fukushima | prefecture |
| JP-21 | Gifu | prefecture |
| JP-10 | Gunma | prefecture |
| JP-34 | Hiroshima | prefecture |
| JP-01 | Hokkaido | prefecture |
| JP-28 | Hyogo | prefecture |
| JP-08 | Ibaraki | prefecture |
| JP-17 | Ishikawa | prefecture |
| JP-03 | Iwate | prefecture |
| JP-37 | Kagawa | prefecture |
| JP-46 | Kagoshima | prefecture |
| JP-14 | Kanagawa | prefecture |
| JP-39 | Kochi | prefecture |
| JP-43 | Kumamoto | prefecture |
| JP-26 | Kyoto | prefecture |
| JP-24 | Mie | prefecture |
| JP-04 | Miyagi | prefecture |
| JP-45 | Miyazaki | prefecture |
| JP-20 | Nagano | prefecture |
| JP-42 | Nagasaki | prefecture |
| JP-29 | Nara | prefecture |
| JP-15 | Niigata | prefecture |
| JP-44 | Oita | prefecture |
| JP-33 | Okayama | prefecture |
| JP-47 | Okinawa | prefecture |
| JP-27 | Osaka | prefecture |
| JP-41 | Saga | prefecture |
| JP-11 | Saitama | prefecture |
| JP-25 | Shiga | prefecture |
| JP-32 | Shimane | prefecture |
| JP-22 | Shizuoka | prefecture |
| JP-09 | Tochigi | prefecture |
| JP-36 | Tokushima | prefecture |
| JP-13 | Tokyo | prefecture |
| JP-31 | Tottori | prefecture |
| JP-16 | Toyama | prefecture |
| JP-30 | Wakayama | prefecture |
| JP-06 | Yamagata | prefecture |
| JP-35 | Yamaguchi | prefecture |
| JP-19 | Yamanashi | prefecture |
Frequently asked questions
- What is the ISO 3166-1 code for Japan?
- Japan uses ISO 3166-1 alpha-2 JP, alpha-3 JPN, and numeric 392. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does Japan have?
- CountriesDB lists 47 official ISO 3166-2 subdivisions for Japan (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use Japan country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for Japan, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use Japan in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Japan (JP) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.