🗺️

China Division Code Lookup

Look up China administrative division codes across four levels, 47,000 records, by code or by name
Division 📂 Query 👤 ToolWorld 🏷️ v1.2.2
Loading...
Query Type a keyword; the local database matches instantly
Code or name
Settings Choose how to search
Search by

The database ships inside the plugin; queries never leave your device

Enter a keyword and press search. Everything runs locally; nothing is uploaded

Result Click a result to drill down

How to Use

📖 Tool Introduction


Look up China administrative division codes across four levels: province, prefecture, county and township, by code or by name. The whole dataset ships inside the plugin, so a query answers in milliseconds and works with the network turned off.

Codes follow the national six-digit standard: the first two digits are the province, the first four the prefecture, six the county, and townships add three more for nine. In 110101, 11 is Beijing, 1101 its urban districts, and 110101 Dongcheng. Reading a code left to right therefore tells you exactly where a place sits without any lookup at all, which is why these codes turn up in ID numbers, business registrations and address forms.

Searching by code gives the full chain of parents and lists every subdivision: 11 lists Beijing prefectures, 110101 lists Dongcheng sub-districts. Feed a lower code back in to keep drilling down. The chain above the result is rendered as text you can copy, so pasting a full address path into a document takes one click.

Searching by name matches loosely, so "Dongcheng" finds every province, city, county and township containing it, with a level column telling them apart. Large result sets are capped at three hundred rows, with the true count shown above. This matters because a common name can match hundreds of townships, and rendering all of them at once would freeze the page rather than help anyone.

The database ships inside the plugin. Queries never touch the network and nothing is uploaded; what you type stays on your machine. That also means the data reflects the moment it was compiled, so boundaries set after that will not appear here.

✨ Key Features


  • Four complete levels: 31 provinces, 342 prefectures, 2,990 counties and 41,356 townships
  • Two search modes: exact code lookup that expands subdivisions, or loose name matching across every level
  • Full hierarchy path: results show the whole chain from province down to the current level
  • Drill down: each result lists its subdivisions, and entering a lower code goes deeper
  • Data lives locally: no network, no upload, your input stays private
  • Large result sets are capped for rendering, with the real total still reported

🚀 How to Use


  1. Type a six- or nine-digit code, or a place name, on the left
  2. Pick a search mode on the right: exact by code, or loose by name
  3. Press search, or just hit Enter to run it
  4. In code mode the table lists every subdivision of the match, and feeding one of those codes back into the input keeps drilling deeper
  5. Copy result puts the hierarchy path and the summary numbers on your clipboard

⚠️ Things to Note


  • Data source: Compiled from published administrative division records, covering province, prefecture, county and township for roughly 47,000 entries, including 41,356 township-level records that most lookup tables leave out
  • Boundaries change: Divisions shift as counties become districts or townships merge. For household registration, business registration or school enrolment, rely on the latest civil affairs announcement rather than any offline dataset
  • Name search: Name search matches loosely and returns records from all levels, so the same name may appear at different tiers. Check the level column before assuming which one you wanted
  • Row limit: The table shows at most three hundred rows to keep the page responsive; the full match count appears in the summary above. Narrow the keyword if you need a specific row
  • Privacy: The database ships inside the plugin and everything runs locally. Nothing you type is sent anywhere, which also means no query log exists

Related

⏫︎