China
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for China. Use them in forms, validation, and CountriesDB integrations.
About China codes
Need China (CN) 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 34 official ISO 3166-2 subdivisions for China. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch China from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (34)
Official ISO 3166-2 codes for China. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| CN-AH | Anhui Sheng | province |
| CN-BJ | Beijing Shi | municipality |
| CN-CQ | Chongqing Shi | municipality |
| CN-FJ | Fujian Sheng | province |
| CN-GS | Gansu Sheng | province |
| CN-GD | Guangdong Sheng | province |
| CN-GX | Guangxi Zhuangzu Zizhiqu | autonomous region |
| CN-GZ | Guizhou Sheng | province |
| CN-HI | Hainan Sheng | province |
| CN-HE | Hebei Sheng | province |
| CN-HL | Heilongjiang Sheng | province |
| CN-HA | Henan Sheng | province |
| CN-HK | Hong Kong SAR | special administrative region |
| CN-HB | Hubei Sheng | province |
| CN-HN | Hunan Sheng | province |
| CN-JS | Jiangsu Sheng | province |
| CN-JX | Jiangxi Sheng | province |
| CN-JL | Jilin Sheng | province |
| CN-LN | Liaoning Sheng | province |
| CN-MO | Macao SAR | special administrative region |
| CN-NM | Nei Mongol Zizhiqu | autonomous region |
| CN-NX | Ningxia Huizu Zizhiqu | autonomous region |
| CN-QH | Qinghai Sheng | province |
| CN-SN | Shaanxi Sheng | province |
| CN-SD | Shandong Sheng | province |
| CN-SH | Shanghai Shi | municipality |
| CN-SX | Shanxi Sheng | province |
| CN-SC | Sichuan Sheng | province |
| CN-TW | Taiwan Sheng | province |
| CN-TJ | Tianjin Shi | municipality |
| CN-XJ | Xinjiang Uygur Zizhiqu | autonomous region |
| CN-XZ | Xizang Zizhiqu | autonomous region |
| CN-YN | Yunnan Sheng | province |
| CN-ZJ | Zhejiang Sheng | province |
Frequently asked questions
- What is the ISO 3166-1 code for China?
- China uses ISO 3166-1 alpha-2 CN, alpha-3 CHN, and numeric 156. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does China have?
- CountriesDB lists 34 official ISO 3166-2 subdivisions for China (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use China country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for China, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use China in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for China (CN) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.