The digital coding rules of the address code in the resident ID card number are as follows:
The first and second digits represent provinces (autonomous regions, municipalities directly under the Central Government and special administrative regions).
The third and fourth representative cities (summary codes of prefecture-level cities, autonomous prefectures, leagues, municipalities directly under the Central Government, municipal districts and counties). Where 0 1-20 and 5 1-70 represent provinces and municipalities directly under the central government; 2 1-50 indicates regions (autonomous prefectures and leagues).
The fifth and sixth representatives represent counties (municipal districts, county-level cities and banners). 0 1- 18 refers to the county-level cities under the jurisdiction of municipal districts or regions (autonomous prefectures and leagues); 2 1-80 stands for county (flag); 8 1-99 stands for county-level cities directly under the provincial government.
The provinces represented by the first two digits of the ID number are:
Beijing | 1 10000, Tianjin | 120000, Hebei | 130000, Shanxi | 140000, Inner Mongolia Autonomous Region | 150000, Liaoning. Shanghai |3 10000, Jiangsu |320000, Zhejiang |330000, Anhui |340000, Fujian |350000, Jiangxi |360000, Shandong |370000, Henan |4 10000. Hainan |460000, Chongqing |500000, Sichuan |5 10000, Guizhou |520000, Yunnan |530000, Xizang Autonomous Region |540000, Shaanxi |6 10000, Gansu |620000. Taiwan Province Province (886)|7 10000, Hong Kong Special Administrative Region (852)|8 10000, Macao Special Administrative Region (853)|820000.