📮

China Postal Codes and Addresses

Mainland China postal codes and addresses: 2,876 districts, 339 city codes, 41,356 streets, six lookup routes, address parsing, batch search, validation and export
Postal 📂 Query 👤 ToolWorld 🏷️ v2.0.1
Postal Codes and Addresses
District codes, street addresses, division codes and code segments, all local
Parse a full addressPaste a delivery address to split province, city, district and street, then get its code
Batch lookupOne per line; line breaks, commas and semicolons all separate entries
Validate and read a codeSix digits split into province, postal zone, county and delivery office
Saved and recentKept in this browser only; you can clear it at any time

Saved items live in browser storage and never reach a server; they disappear if you switch device or clear browser data

ResultsSort by header, pick columns, star a row to save it
CoverageCounts and the per-province breakdown, computed from the local data

District codes come from published division-to-postcode tables, alongside city-level codes, fourth-level street names and telephone area codes. HK, Macau, Taiwan and overseas mail do not use mainland six-digit codes and are marked separately. The data works offline; confirm with the local post office before mailing

How to Use

📖 Tool Introduction

This tool looks up the six-digit postal codes used in mainland China. The plugin ships 2,876 district rows, 339 city-level codes, 41,356 street and township names, and two-, three- and four-digit prefix indexes built from the codes themselves. Open the page and it works; with the network unplugged it works the same way. Nothing you type leaves the browser.

The usual hold-up when filling a courier slip is deciding which code a district belongs to. Type 100010 and Dongcheng comes back. Type Yuhua and the tool finds Yuhua District in Shijiazhuang. Type 130108 and it reads that as an administrative division code and returns exactly one row. If you only remember how a place sounds, dongcheng or dc reaches the same records through the pinyin index; capital letters and spaces make no difference.

One code frequently covers several neighbouring districts. In this data 050000 is attached to both Chang'an and Xinhua districts in Shijiazhuang, so a code lookup lists both rather than stopping at the first. Switch on the shared-code grouping and the table reorganises by code, naming every district in each group and counting them, which saves you from tallying rows by hand.

The six digits are not arbitrary. The first two identify the province, municipality or autonomous region; the first three identify the postal zone; the first four reach the county or city; the last two identify the delivery office. Put 050011 in the validator and it shows those four pieces separately, then says whether the complete code appears in the database. A first-two pair with no owner is usually a typo in the province.

The address parser is for pasted delivery addresses. Paste a line such as Huaidi Street, Yuhua District, Shijiazhuang, Hebei and it separates province, city, district and street, then attaches the district code and the telephone area code. Street rows inherit their district's postal code rather than claiming a finer one of their own; for the exact delivery office, ask the local post office.

The batch box takes one item per line, with line breaks, commas, semicolons and Chinese enumeration commas all accepted as separators. It handles up to 200 entries per run and prints the misses underneath. Results can be sorted by clicking a header, trimmed to the columns you want, paged, and written out as CSV, JSON, TXT or Markdown. Saved rows and recent searches stay in this browser and disappear when its data is cleared.

✨ Key Features

  • Six lookup routes: by postal code, place name, division code, code prefix, telephone area code or plate initial, plus a mode that reads the input and picks one
  • Three linked filters for province, city and district; choosing a district fills in its code and runs the lookup
  • Full pinyin and initials both match, so Yuhua, yu hua and yh land on the same records
  • 2,876 district rows carry province, city, postal code, pinyin, area code, plate initial and macro region, with 339 city-level codes alongside
  • Two-, three- and four-digit prefix indexes are derived from the real codes in the database; entering 050 shows what that segment covers
  • Address parsing covers 41,356 street and township names, matches the longest name and states which level was recognised
  • The validator splits a code into the four levels of the six-digit structure and checks whether the database holds it
  • Sortable, paged results with selectable columns, CSV / JSON / TXT / Markdown export, and click-to-copy on code cells

🚀 How to Use

  1. Put a code, place name, division code, area code, prefix or plate initial in the keyword box; leave the mode on automatic if you are unsure which it is
  2. To narrow things down, pick a province, then a city, then a district; the table on the right filters as you go
  3. Press Search or hit Enter. A place-name lookup can cross provinces, so read the province and city columns before choosing a row
  4. To see how many districts share one code, tick the shared-code grouping and the table regroups by postal code
  5. Sort by clicking a header, tick the columns you need, or star a district you look up often
  6. Pick an export format and download the file, or copy the whole table with one click

⚠️ Things to Note

  • Where the data comes from: District codes are compiled from published division-to-postcode tables, with city-level codes, fourth-level street names and telephone area codes added. HK, Macau, Taiwan and overseas mail do not use mainland six-digit codes and are marked separately
  • One code, several districts: A single code covering neighbouring districts is normal, so code lookups list every match; use the province and city columns to decide. A district can also sit under more than one delivery segment
  • What street rows mean: The 41,356 street and township names exist for address matching. A street inherits its district's code and does not imply a separate six-digit code of its own
  • Reading the digits: First two belong to the province, first three to the postal zone, first four to the county or city, last two to the delivery office. That is the four-level six-digit scheme, not a hierarchy of division codes
  • Two different numbers: A six-digit division code and a six-digit postal code are separate systems. 130108 is read as a division code, 050011 as a postal code, and automatic mode tries the postal reading first
  • Mailing and privacy: The data works offline, but confirm with the local post office before you post anything. Saved rows and recent searches live in browser storage and never reach a server

Related

⏫︎