How six digits are built
Domestic codes run six digits in three tiers: two for province or region, one for the postal district, one for county or city, two for the delivery office. 100000 is Beijing, its leading 10 marking the Beijing district. This structure means codes never pin a street: one code follows a delivery office's service area, which may cover several streets or an entire district. Coverage spans 2,876 counties and 41,356 streets, enough for address standardisation.
Steps
- Choose one of six modes: by code, by place name, by division code, by numeric range, by area code, by plate.
- Narrow with the three province, city and district dropdowns, or type a place name directly.
- Set match scope to contains, exact or prefix; contains is widest and default.
- Tick pinyin matching to search Chinese place names by pinyin when typing Chinese is inconvenient.
- Run Query, or Parse address to split a block of text into province, city, district, street and code.
- Batch handles multiple lines at once; Validate flags missing levels; Favourite saves common addresses; Overview shows coverage.
- Three more toggles: merge multi-district results for one code, query as you type, and include Hong Kong, Macao, Taiwan and international entries as needed.
One code covering many addresses is normal
A code often spans several streets because delivery offices are sited by district rather than street. Conversely one street may carry multiple codes, especially large institutions, schools and industrial parks with dedicated ones. Do not assume a one-to-one code-to-street mapping or imports will collide. Keep the many-to-many relation and validate through level fields instead of reverse-deriving a single address.
What parsing and validation do
Parsing splits free text into structured fields, pulling province, city, district, street and code out of a single run-on address. Validation checks for missing levels, mismatched district and city, and code-to-district consistency. Both help when importing customer addresses or cleaning shipping labels, normalising inconsistent spellings in bulk. But parsing works by keyword matching, so abbreviations, aliases and typos distort results, and important data still needs human review.
Boundaries
Codes serve delivery, not administrative boundaries, and they do not track redistricting: converting a county into a district usually leaves codes unchanged, so do not infer jurisdiction from them. Remote areas and new development zones may be missing, in which case the local postal service is authoritative. Before bulk import, run a small sample and confirm parse accuracy.