Sri Lanka NIC Decoder

Decode any Sri Lanka National Identity Card number instantly - reveals date of birth, gender, age, and voter eligibility. Supports both old (9+V) and new (12-digit) NIC formats.

  • Free
  • No sign-up
  • Nothing to install

Old format: 9 digits + V or X (e.g. 882304321V)  ·  New format: 12 digits (e.g. 199823045678)

How NIC Numbers Work

Old NIC (10 characters)

YY DDD SSSS [V/X] - 2-digit year, 3-digit day of year, 4-digit serial, V (voter) or X (not registered)

New NIC (12 digits)

YYYY DDD SSSSS - 4-digit year, 3-digit day of year, 5-digit serial. Females have 500 added to the day value.

About this tool

Sri Lanka NIC Decoder

Every Sri Lankan National Identity Card number encodes the holder's birth year, day of birth and gender. This NIC decoder reads both formats - the old 10-character NIC (9 digits plus V or X) and the new 12-digit NIC issued since 2016 - and shows the date of birth, gender, current age and voter status. It is the quickest way to find a birthday from an NIC, check a number typed into a form, or understand what each block of digits means. Decoding happens in your browser, so the NIC you enter is never sent anywhere.

How to use

  1. Type or paste the NIC number, for example 882304321V or 199823045678.
  2. Press Decode, or hit Enter.
  3. Read the date of birth, gender, age and voter status cards.
  4. Check the NIC breakdown for the birth year, day-of-year value and serial number.

Frequently asked questions

How do I find the date of birth from an NIC number?
Take the birth year (the first 2 digits of an old NIC, with 19 in front, or the first 4 digits of a new NIC). The next 3 digits are the day of the year; for women 500 is added, so subtract it first. The NIC calendar always counts 29 February as day 60, even in non-leap years, and the decoder allows for that.
How is gender shown in a Sri Lankan NIC?
By the three day-of-year digits. A value from 001 to 366 means male, and 501 to 866 means female, because 500 is added for women.
What do the letters V and X mean on an old NIC?
V was printed on the cards of people eligible to vote when the card was issued, and X on the cards of those who were not. New 12-digit NICs have no letter, so the decoder shows eligibility by age (18 and over) instead.
How do I convert an old NIC to the new 12-digit format?
Put 19 in front of the first five digits, add a 0, then the last four digits, and drop the letter. For example 882304321V becomes 198823004321. This decoder reads both formats but does not convert between them.
Is the NIC number I enter stored?
No. The decoder is plain JavaScript running on this page. The number is not uploaded, logged or saved.