ID Number GeneratorNEW

Generate and verify ID numbers for 19 countries and regions with official check digits

Completely free

Checking your access…

AllFreeTool is a free online generator for identity document numbers covering 19 countries and regions. Pick a country, press generate, and you get a number whose length, character set and check character all follow the published rules of that document — from the Chinese resident ID card and the Hong Kong identity card to the US Social Security Number, the UK National Insurance Number, the Canadian SIN, the Indian Aadhaar number, the Brazilian CPF, the Korean resident registration number, the Japanese My Number, the Singapore NRIC or FIN, the Dutch BSN, the Spanish DNI or NIE, the Polish PESEL, the French NIR, the Italian Codice Fiscale, the Vietnamese CCCD, the Thai national ID and the South African identity number.

The tool also verifies numbers. Paste one into the checker and it tells you whether the format is legal, whether the check character matches, and — when the document carries a birth date — it reads that date and the gender back for you. Generation and verification both run locally in your browser: nothing is uploaded, nothing is stored.

Why use ID Number Generator on AllFreeTool?

🌍

19 Countries

One independent rule set each for the most common ID documents in Asia, Europe and the Americas.

✅

Real Check Digits

For 12 documents the official check algorithm (Luhn, Verhoeff, weighted modulo and more) is implemented, so generated numbers verify.

🔍

Verify & Decode

Paste any number to check its format and check character, and read back the birth date, gender and region where applicable.

🔒

Runs Locally

Randomness and verification happen in your browser — no upload, no database, no trace.

How to use ID Number Generator

1

Pick a Country

Choose the country in the dropdown and the panel shows that document's structure and check method.

2

Generate

Set how many numbers you need (1 to 100) and press generate. Copy them one by one or all at once.

3

Verify or Decode

Paste an existing number into the checker to see whether its format, check character and birth date hold up.

Common questions

Do these numbers belong to real people?+

No. The numbers are assembled in your browser from random values and from real region code tables, following the published encoding rules. They match no citizen and exist in no official system. What they do guarantee is that the format and the check character are correct.

Why are some countries marked as format-only?+

Not every document publishes its check algorithm — the Korean resident registration number and the Thai national ID are examples. For those, the tool validates length, character set, birth date and gender code, and it deliberately refuses to draw a conclusion about a check digit it cannot compute. Countries marked as having an official check digit implemented generate numbers that already satisfy the real algorithm and can be re-verified here.

What does a check-character mismatch mean?+

The format itself is legal, but recomputing the check character under that country's rules gives a different value than the one printed in the number. That usually means a digit was edited by hand, or that the number was never issued under those rules. The tool reports what the rules say and does not speculate about the origin of the number.

Can I use these numbers to register an account or pass an identity check?+

No. Please use the tool for test data, demos and placeholder forms only. Using a forged document number to register accounts, obtain services or commit fraud is illegal in most countries, and the tool page carries the same notice.

More Everyday Tools tools