World Postal Code Lookup
Data source: GeoNames postal codes (CC-BY 4.0)
How to Use
📖 Tool Introduction
World Postal Code Lookup covers 1.8M+ records from the GeoNames postal code database across 152 countries, plus 2,879 China district-level rows. Reverse-lookup by code, forward-lookup by place name, or pinpoint a Chinese district by its division code.
Postal codes come up whenever you fill in a courier slip, send international mail or check a delivery address. Pick the country, type a place or a code, and both directions work at once. Not sure how a foreign place is spelled? The romanized column can be copied directly.
Built-in format checks cover the main countries: if your input does not match the expected pattern, a hint is shown first and the query still runs. Countries without a built-in rule are not restricted.
The tool is ready to use with no download at all; queries are answered instantly through the site API and only matching postal records are returned.
📖 Key Features
- 152 countries, 1.8M+ postal records (GeoNames, CC-BY 4.0), plus 2,879 China district rows
- Three modes: reverse lookup by code (exact first, then prefix), fuzzy search by place name, exact match by Chinese division code
- Transliterated index: Cyrillic, Korean, Greek and kana names are pre-romanised, so Latin input finds them
- Pinyin searchable: China districts match pinyin, case-insensitively, spaces ignored — dongcheng and Dong Cheng both work
- Country selector sorted in your language; the division-code mode disables itself for non-China picks
- Format hints for major countries; no restriction where no rule is built in
- One code covering several areas (even across borders) lists every match, separated by country and state
- Ready to use: no download needed, queries answered instantly through the site API
📖 How to Use
- Pick a country in the dropdown, or keep "All countries" for a worldwide search
- Choose a mode: by code, by place name, or by division code (China / all countries only)
- Type a code, a place, pinyin or a division code and press search, or hit Enter
- Results are split into country, code, place, state, city, county and romanized columns; a single hit shows a breadcrumb path above
- Copy result puts the path and stats on your clipboard
📖 Things to Note
- Data source: Worldwide codes come from GeoNames (CC-BY 4.0); the 2,879 China district rows are compiled from published administrative data
- Server-side query: The database is opened read-only, so no query can ever modify it; the API is not cached and always returns fresh results
- Worldwide search is slow: Searching names with no country selected scans all 1.8M rows, so pick a country first; code searches use an index and are fast
- One code, several areas: A code often covers neighbouring areas, sometimes in more than one country. Use the country and state columns to decide; results are capped at 300
- Division codes: The six-digit division code maps only to China districts; the option disables itself for other countries
- Privacy: Queries are answered in real time through the site API and only matching postal records are returned