Administrative Division Codes: Six-Digit Levels, Urban-Rural Codes and Changes

Open Tool China Division Code Lookup

Reading a six-digit code

Codes run six digits: two for province, two for prefecture, two for county, and two more for township in the nine or twelve digit statistical form. So 110101 is Dongcheng District in Beijing: 11 Beijing, 01 municipal district, 01 Dongcheng. Always split six digits into three pairs, since a wrong province ruins the rest. Statistical authorities maintain the coding, largely aligned with civil affairs naming but updated on a different rhythm, so a code can be live while the official name has just changed.

Steps

  1. In code mode, enter six or more digits such as 110101 to drill down level by level.
  2. In name mode, enter a place name such as Dongcheng with fuzzy matching.
  3. Query returns the level, parent division and full code.
  4. Reset clears the form. All data is local and never uploaded.

The urban-rural code is separate

Statistics and address standardisation also use a three-digit urban-rural code: 111 main urban area, 112 urban-rural fringe, 121 town centre, 122 town-village fringe, 210 township centre, 220 village. It typically trails the twelve-digit statistical division code and is not the administrative hierarchy. When a form asks for urban-rural status, do not paste the administrative code into it.

Handling historical changes

Converting a county into a district or merging townships retires or repoints codes: the code may persist while the name changes, or a new code appears. When two datasets disagree, check for a rename first and consult the change notice, rather than declaring bad data. For year-over-year comparisons keep both name and code columns, since matching on either alone fails.

What forty-seven thousand records cover

Province, prefecture, county and township levels total roughly 47,000 records, enough for most address entry, regional statistics and report reconciliation. Village level and retired historical entries are absent, so historical lookups may fail. Keep an older snapshot or locate records by name plus year in those cases.

⏫︎