National ID number validator

Check an ID number's check digit and compare its date of birth, sex and region with the applicant's declared details.

Check one ID number

Spaces, dots, dashes and slashes are fine

Declared details

These fields are optional. Each filled field is compared with what the number holds.

The number is checked in this browser and is not sent or stored.

ID number result BOXW310820HNERXN09

Valid
Date of birthAug 20, 1931
SexMale
RegionBorn abroad

The number is well built, but a declared detail differs from what it holds, so ask the applicant.

CheckResult
Length and charactersPass
Number layoutPass
DatePass
RegionPass
Check digitPass
DetailIn numberDeclaredResult
Date of birthAug 20, 1931Aug 21, 1931Does not match
SexMaleMaleMatches
RegionBorn abroad–Not declared
Country–
Usual form–
Number kind–

Check a list of ID numbers

Up to 100 numbers for the selected country and ID number

Numbers this tool checks

Many national ID numbers contain a date of birth, sex or region, plus a check digit that can catch a mistyped digit. The table shows which details each number holds.

CountryID numberCheck digitDate of birthSexRegion
BrazilCPF✓––✓
BrazilCNPJ✓–––
ChileRUT / RUN✓–––
China居民身份证✓✓✓✓
CzechiaRodné číslo✓✓✓–
FranceNIR✓✓✓✓
IndiaAadhaar✓–––
IndonesiaNIK–✓✓✓
ItalyCodice fiscale✓✓✓✓
MexicoCURP✓✓✓✓
MexicoRFC✓✓––
PolandPESEL✓✓✓–
RomaniaCNP✓✓✓✓
SingaporeNRIC / FIN✓–––
SpainDNI / NIE / NIF✓–––

Run these checks on every application in your onboarding or credit decision flow. Start your trial

What an ID number check shows

The tool checks whether the number has the right length and layout. It also checks any date, region and check digit or letter the number carries.

A valid result shows that the number passes the checks available for its kind. Compare the date of birth, sex and region it holds with what the applicant declared, then follow up on any difference.

Common questions

How can I check if a national ID number is valid?

The tool checks the number's length and characters, then its layout. It also checks any date, region and check digit or letter the number carries.

How does an ID number's check digit work?

The check digit or letter is calculated from the other characters using the rule for that kind of number. The tool checks whether it matches.

What information can the digits in an ID number show?

Some ID numbers contain a date of birth, sex or region. Which details appear depends on the number.

Does a valid ID number prove who gave it?

No. A valid result means the number passes the checks available for its format. Only the issuing registry can confirm whether it was issued, is in use or belongs to someone.

Can I check several ID numbers at once?

Yes. Enter a list of ID numbers, one per line. The results appear in a table and can be downloaded as a CSV.