Everyday Tools

Vietnam CCCD Number Decoder: Read Your 12-Digit Citizen ID

Decode a Vietnamese 12-digit citizen ID (CCCD) offline: province of birth registration, sex and century code, year of birth and a structure check.

Saizul Amin
Saizul Amin5 Nov 2026 · 4 min read
Vietnam CCCD Number Decoder: Read Your 12-Digit Citizen ID

Vietnam CCCD Number Decoder: Read Your 12-Digit Citizen ID

Vietnam's citizen identity card, căn cước công dân, now simply called căn cước under the Identity Law 2023, carries a 12-digit personal identification number that stays with a person for life. The Vietnam Citizen ID (CCCD) Number Decoder reads the public structure of that number in your browser and shows the province code, sex, century and year of birth.

The structure of the number

The structure is set out by the Ministry of Public Security in Circular 59/2021/TT-BCA.

DigitsMeaning
1-3Province or city where the birth was registered
4Sex and century (0/1: 1900s, 2/3: 2000s)
5-6Last two digits of the year of birth
7-12Random number

Examples of province codes are 001 for Hà Nội, 048 for Đà Nẵng and 079 for Hồ Chí Minh City. In the fourth digit, 0 is a man and 1 a woman born in the 20th century, 2 and 3 the same for the 21st century, 4 and 5 for the 22nd, and so on. Even means male, odd means female.

Provinces merged in 2025 keep their original codes in existing numbers, so an old code is still read correctly.

Worked example

For 001095012345, the code 001 is Hà Nội, the 0 means a man born in the 20th century and 95 gives 1995.

For 079301009876, the code 079 is Hồ Chí Minh City, the 3 means a woman born in the 21st century and 01 gives 2001.

How to use the decoder

  1. Paste one or more 12-digit numbers, one per line.
  2. Read the province or city for each code.
  3. Read the sex and century from the fourth digit.
  4. Read the year of birth.
  5. Note any numbers flagged for the wrong length, an unknown province code or an impossible year.

Why people use it

The decoder helps you check that a form or registration has been filled in consistently, for example that the year of birth on the form matches the number. HR teams and schools use it to spot typing mistakes in bulk lists. Since 2025 the citizen ID number also serves as the personal tax code and the social insurance number for most people, so a mistyped number can cause problems in several systems at once.

What it cannot do

A valid structure does not prove that a number has been issued or that it belongs to a particular person. Only the national population database can do that; use the VNeID app or official channels to verify identity. The older chứng minh nhân dân had 9 digits with a different structure and is no longer valid, so the decoder reads only 12-digit numbers.

For developers

Check the length, check the province code against the list and make sure the year is not in the future. Store and display numbers carefully, because they are personal data under Decree 13/2023 on personal data protection. Nothing is looked up online by this tool. This is a structure check, not identity verification or legal advice.

Work in small, saved steps

Every tool in this series keeps your work as a project in your own browser. Make a change, check the preview, and use undo (Ctrl+Z) or redo (Ctrl+Y) freely; nothing is lost while you experiment. Before a big change, save a named copy from the Projects menu, so you can return to it later or compare two versions side by side. Export the project file when you want to move it to another computer or keep a backup, and import it again whenever you need it.

Privacy by design

The processing happens in the page itself. Files you open are read by code running on your device, results are calculated locally, and nothing is sent to a server or stored in a cloud account. That makes the tool suitable for customer lists, financial data and other material you would not upload to an unknown website. If a component such as a file reader or a map outline is downloaded from a public CDN, only that open-source code or public data is fetched, never your own content.

Share the result clearly

When you pass the output to colleagues, say where the data came from, when it was exported, and which settings you used, so that someone else can repeat the work and get the same answer. Keep the original file unchanged and store the cleaned or calculated version separately. A short note with the assumptions, filters and date saves a lot of questions later and makes the result easier to trust.

Privacy

The tool runs entirely in your browser. Your data stays on your device and is never uploaded.

Save your work

Projects are saved automatically in this browser. Export them as a file to keep a copy, or print a report.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages