How to use ID number checker & generator
- 1
Pick the document
Choose the country, then the document if it has several, such as CPF or CNPJ for Brazil. Its written form and the sources of its rules appear underneath.
- 2
Check one number or a list
Paste numbers one per line on the Check tab. Each line is marked valid, warning or invalid, with the reason and the fields the number encodes.
- 3
Generate test numbers
On the Generate tab choose how many, a birth-date range, sex or region where the document has them, then copy the list or download TXT, CSV or JSON.
- 4
Complete or calculate
The Calculate tab adds a missing check digit or letter; for the codice fiscale, CURP and CUIT it works the whole number out from personal details.
Limits and Pro
Free, no sign-up: 25 documents from 18 countries, up to 10,000 lines per check and 10,000 numbers per generated batch; jobs over 500 items run in a background worker.
Pro removes the ads; checking and generating have no extra limits to lift. See Pro
About ID number checker & generator
Sign-up forms, payment providers and tax software reject an identity or tax number the moment one digit is off, so developers need numbers that pass those checks for their fixtures, and everyone else wants to know whether the number they were given is even well-formed. This tool covers 25 documents from 18 countries: Brazil's CPF and CNPJ (including the alphanumeric CNPJ issued since July 2026), Mexico's CURP and RFC, Italy's codice fiscale, Spain's DNI, NIE and company NIF, Colombia's NIT, Argentina's CUIT and CUIL, Poland's PESEL, NIP and REGON, Turkey's T.C. Kimlik No, Russia's INN and SNILS, Iran's national code, China's resident ID, Taiwan's national ID, Kazakhstan's IIN, Ukraine's RNOKPP, Egypt's national ID, Thailand's citizen ID, India's Aadhaar and South Korea's resident registration number.
Every check names its reason: the wrong length, a check digit that should have been another, a birth date that doesn't exist or a region code no authority uses. When a number passes, you see what it carries, from the birth date and sex in a PESEL to the municipality in a codice fiscale.
The rules come from the issuing authorities where they publish them, such as the Receita Federal's CNPJ manual or RENAPO's CURP rules, and otherwise from well-known open-source validators; each document lists its sources.
What no tool can tell you is whether a number was actually issued or whose it is: that needs the authority's own register, which this page never contacts. Aadhaar and Korean numbers can be checked but not generated.
Privacy
Numbers you paste, and the names and birth dates you type into the codice fiscale, CURP or CUIT calculators, are processed by this page in your browser and never sent anywhere; no government register is queried. Only the last document and tab you chose are remembered, in this browser's local storage. Picking Italy loads the municipality list, a static file from this site.
Features
Reasons, not a red cross
Wrong length, a bad check digit with the expected one, an impossible date or an unknown region code, named for every line.
Decodes what a number holds
Birth date, sex, state, province, municipality, legal form or tax office, wherever the document carries them.
Test data that passes validators
Batches of up to 10,000 with your birth-date range, sex and region, labelled valid format only and for testing.
What each document encodes
Birth date and sex: CURP (Mexico), codice fiscale (Italy), PESEL (Poland), resident ID (China), RNOKPP (Ukraine), national ID (Egypt), and usually the IIN (Kazakhstan). Taiwan's ID carries sex and the place of first registration but no date.
Place: the CPF's ninth digit is the fiscal region of first registration, a CURP names the state of birth, a codice fiscale the municipality or foreign country, Chinese and Egyptian numbers the province or governorate, and an INN the region and tax office.
Little beyond a check digit: DNI and NIE letters, the T.C. Kimlik No, the SNILS, the REGON, the NIT and Aadhaar; Iran's national code and the Polish NIP also start with the code of the office that issued them.