Identity validators for passport numbers, SSN, Aadhaar, PAN, and government ID verification.
28 code snippets available
Social Security Number.
Employer Identification Number.
6-9 alphanumeric characters.
Generic 1-7 alphanum.
12-digit UIDAI number.
Permanent Account Number.
Standard 15-char format.
EPIC Number.
Goods & Services Tax ID.
UK NI Number.
10 digit NHS identifier.
UK License Number.
Brazilian Tax ID.
Brazilian Business Tax ID.
18-digit Resident ID.
Vehicle Identification Number.
15-digit device identifier.
SIM card identifier.
9-digit business ID.
Legal Entity Identifier.
National Provider Identifier.
Drug Enforcement Admin number.
Standard student ID format.
Hardware serial number.
Device UUID format.
Pi serial number.
Researcher identifier.
Attorney bar ID.
Our identity & gov validation snippets are designed to handle the most common validation scenarios you'll encounter in modern software development. Each snippet is thoroughly tested, optimized for performance, and follows industry best practices.
All validators are available in multiple programming languages including JavaScript, TypeScript, Python, Go, PHP, C#, and Rust. Simply copy the code snippet, adapt it to your specific needs, and integrate it into your project. Every snippet is MIT licensed—free for personal and commercial use.