Postal Codes Dataset for Viet Nam, VN

Postal Codes Dataset for Viet Nam, VN including name of the city, town, or place, various administrative divisions and alternative city names.

Report an issue
Downloads
969
Last updated
Rows
3,321
Size
262 kB
Format
csv

Data Files

1 file

postal-codes-vn-sample

Postal Codes Dataset for Vietnam (VN)

Vietnam's national postal codes (Mã bưu chính quốc gia) as set by Decision 2334/QĐ-BKHCN of 24 August 2025 of the Ministry of Science and Technology: one 5-digit code for each commune (xã), ward (phường) and special zone (đặc khu), 3,321 in all, under the 34 provinces and centrally-run cities that exist since the reform of 1 July 2025.

Column definitions, row count, size and last-updated date are in datapackage.yaml.

Data Sources

  • Postal codes: the annex to Decision 2334/QĐ-BKHCN, "Danh mục Mã bưu chính quốc gia cho đối tượng là phường, xã và đơn vị hành chính tương đương", published by the Ministry of Science and Technology (record: https://mst.gov.vn/van-ban-phap-luat/25175.htm).
  • Unit names and codes: the administrative unit list (Danh mục đơn vị hành chính) of the National Statistics Office of Viet Nam (Cục Thống kê), https://danhmuchanhchinh.nso.gov.vn/, as of the build date. Names are the current official ones; where a unit changed type after the decision (22 communes in Bắc Ninh and Đồng Nai became wards in 2026), the current type is used.

Both are administrative documents of Vietnamese state agencies, which Art. 15(2) of the Intellectual Property Law excludes from copyright protection. See ATTRIBUTION.txt.

Structure

  • Level 1 (admin_name1, admin_code1): province or centrally-run city with its official 2-digit code (all 34 rows of the table below). ISO 3166-2:VN still lists the 63 pre-reform provinces; its code still applies only to the 11 provinces the 2025 reform left unchanged, and is given as an alias in the ISO column below (not in the CSV).
  • Level 2 (admin_name2, admin_code2): commune, ward or special zone with its official 5-digit code. Districts were abolished on 1 July 2025, so there is no third level.
  • No coordinates.
Official codeProvince or cityISO 3166-2Rows
01Thành phố Hà NộiVN-HN126
04Tỉnh Cao BằngVN-0456
08Tỉnh Tuyên Quang124
11Tỉnh Điện BiênVN-7145
12Tỉnh Lai ChâuVN-0138
14Tỉnh Sơn LaVN-0575
15Tỉnh Lào Cai99
19Tỉnh Thái Nguyên92
20Tỉnh Lạng SơnVN-0965
22Thành phố Quảng NinhVN-1354
24Thành phố Bắc Ninh99
25Tỉnh Phú Thọ148
31Thành phố Hải Phòng114
33Tỉnh Hưng Yên104
37Tỉnh Ninh Bình129
38Tỉnh Thanh HóaVN-21166
40Tỉnh Nghệ AnVN-22130
42Tỉnh Hà TĩnhVN-2369
44Tỉnh Quảng Trị78
46Thành phố HuếVN-2640
48Thành phố Đà Nẵng94
51Tỉnh Quảng Ngãi96
52Tỉnh Gia Lai135
56Tỉnh Khánh Hòa65
66Tỉnh Đắk Lắk102
68Tỉnh Lâm Đồng124
75Thành phố Đồng Nai95
79Thành phố Hồ Chí Minh168
80Tỉnh Tây Ninh96
82Tỉnh Đồng Tháp102
86Tỉnh Vĩnh Long124
91Tỉnh An Giang102
92Thành phố Cần Thơ103
96Tỉnh Cà Mau64

Corrections to the source

Two errors in the annex are corrected, with the owner's approval. Each correction and its evidence is in scripts/corrections.csv; everything else is as published.

Postal codeFieldAnnex printsCorrected toEvidence
05127place name#VALUE! (a spreadsheet error)Xã Nghi DươngThe only Hải Phòng unit in the statistics office's list (11713 Xã Nghi Dương) without a postal code in the annex; the earlier aggregator-built file has the same name
152213 → 15221postal code152213 (six digits) for Xã Tam Dương Bắc, Phú Thọ15221Postal codes have five digits; its neighbours in the annex are 15219, 15214 and 15220; 15221 is used by no other row; the earlier aggregator-built file has 15221. VNPost's own lookup was not checked

Rebuilding

scripts/produce.py needs pdftotext from poppler (a system package, not a pip dependency) to read the annex PDF: brew install poppler or apt-get install poppler-utils.

Usage

postal_code, admin_code1 and admin_code2 must be read as text (dtype=str) to keep leading zeros.

For other inquiries, contact datahub@datopian.com

API access

Access dataset files directly from scripts, code, or AI agents.

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

  1. Fetch datapackage.yaml to inspect schema and resources
  2. Download data resources listed in datapackage.yaml
  3. Read README.md for full context
/logistics/postal-codes-vn/3 files
  • ATTRIBUTION.txthttps://datahub.io/logistics/postal-codes-vn/_r/-/ATTRIBUTION.txt
  • README.mddocumentationhttps://datahub.io/logistics/postal-codes-vn/_r/-/README.md
  • datapackage.yamlmetadata & schemahttps://datahub.io/logistics/postal-codes-vn/_r/-/datapackage.yaml