Sri Lanka NIC to DOB Converter
Free decoder for Sri Lankan NIC numbers — Extract date of birth, age & gender instantly. 100% private, in-browser processing.
old and new formats both work
Date of Birth
22 June 1999
Age
27
Gender
Female
Weekday
Tuesday
New Format
199906731234
Voter Status
V (Voter)
Day of Year
173
Runs in your browser. Never stored.
How to Convert NIC to DOB — Sri Lankan ID Number to Birthday Decoder
-
1.
Read the birth year
The first four digits on a new-format card (or first two on an old one) encode the birth year. New: 1999 from 1999…. Old: 90 from 90….
-
2.
Decode day-of-year and gender
The next three digits are the day of the year — 1 for 1 January, 365 for 31 December. If the number exceeds 366, subtract 500 to get the actual day, and that means the cardholder is female.
-
3.
Serial number and check digit
What remains is a serial number assigned at registration. New-format cards (12 digits) end with a single check digit; old-format cards (9 digits + a letter) end with V or X.
Old format vs. new format
90 673 1234 V
1999 673 1234 0
Sri Lanka NIC Quick Reference Matrix
Side-by-side comparison of technical specifications between legacy 10-character and modern 12-digit identity formats.
|
Feature / Specification
|
Old Format
1972 – 2015 · 10 Chars
|
New Format
2016 – Present · 12 Digits
|
|---|---|---|
|
|
1972 – 2015
Legacy
Pre-digital biometric era
|
2016 – Present
Standard
Current national registry standard
|
|
|
10 characters
9 decimal digits + 1 alphabetic suffix
|
12 numerical digits
Purely numerical integer string
|
|
|
First 2 digits (e.g. 90 = 1990)
Assumes 1900s century prefix
|
First 4 digits (e.g. 1990 or 2002)
Explicit 4-digit Gregorian year (Y2K+ clean)
|
|
|
Digits 3–5
Positions 3, 4, 5 (Day 1–366 / 501–866)
|
Digits 5–7
Positions 5, 6, 7 (Day 1–366 / 501–866)
|
|
|
♂ Male:
001–366
♀ Female: +500
(501–866)
|
♂ Male:
001–366
♀ Female: +500
(501–866)
|
|
|
4-digit sequence
Digits 6–9 (Cap of 9,999 daily births)
|
4-digit sequence & 1 check digit
Digits 8–11 serial, Digit 12 checksum
|
|
|
V (Voter) or X (Non-voter)
Terminal alphabetic electoral status flag
|
1-digit checksum
Mathematical modulus verification digit
|
No specifications match your search query.
We never see your NIC number.
Decoding happens entirely within your browser — no data leaves your device. Nothing is transmitted to a server, logged, or stored in any form.
NIC Number Details & ID Card Check — Frequently Asked Questions
A National Identity Card (NIC) number is the unique identifier issued by Sri Lanka's Department for Registration of Persons to every citizen. It appears on the physical identity card and is used for most official purposes.
No. The entire decoding process runs in JavaScript inside your browser. No NIC number is ever sent to a server or recorded in any way.
Old-format NICs have 9 digits followed by a letter (V or X) — 10 characters total. The year is encoded in just 2 digits. New-format NICs (issued from around 2016) use 12 digits, with the full 4-digit birth year and a numeric check digit instead of a letter.
No. This is an independent tool and is not affiliated with, endorsed by, or connected to the Department for Registration of Persons or any other Sri Lankan government body.
Enter your NIC number in the decoder above. The tool reads the day-of-year digits embedded in the number and converts them to an exact calendar date — giving you the date of birth, age, and gender instantly.
In the old-format NIC (9 digits + letter), V means the cardholder is a registered voter, while X means they are not registered to vote. New-format 12-digit NICs replaced this letter with a numeric check digit.
Prepend “19” to the 2-digit year, keep the 3-digit day code unchanged, insert a zero before the 4-digit serial to make it 5 digits, then remove the V or X suffix. Example: 852140123V becomes 198521400123.
The 3-digit day-of-year value determines gender. Values between 1 and 366 indicate male. Values between 501 and 866 indicate female — subtract 500 to get the actual day of the year.
In the Sri Lankan NIC numbering system designed by the Department for Registration of Persons (DRP), females have 500 added to their 3-digit day of the year value (resulting in numbers from 501 to 866). This allows the system to encode both the exact date of birth and legal gender within a single 3-digit field.
New 12-digit NICs replace the old V/X voter status suffix with a numeric checksum digit at the end. It is calculated using a modified Luhn/DRP weighted modulo check algorithm across the preceding 11 digits to ensure data integrity during electronic data entry.
This tool decodes details from an NIC number you already have — enter any old (9-digit + V/X) or new (12-digit) Sri Lankan ID number to instantly see the birthday, age, and gender encoded in it. It cannot search for an NIC number using a person's name, as that data is held only by the Department for Registration of Persons.
Enter any Sri Lankan NIC number (old or new format) in the decoder above. The tool runs entirely in your browser and instantly shows the date of birth, gender, and precise age encoded in the NIC number — no registration or downloads required.
Paste your Sri Lankan NIC number into the decoder above. The tool reads the 3-digit day-of-year code embedded in every NIC — whether it's an old 9-digit card or a new 12-digit card — and converts it to an exact birth date (day, month, year) instantly.