Lithuania Personal Code Validator (Asmens Kodas)

Paste Lithuanian personal codes to check the check digit and decode the date of birth, sex and serial number.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste the codes

    One asmens kodas per line.

  2. 2
    Run the check

    Each code gets the two-stage mod 11 test.

  3. 3
    Read the details

    See the date of birth, sex and serial.

  4. 4
    Fix typos

    Compare with the expected check digit.

  5. 5
    Export

    Download the results as CSV.

About this tool

The Lithuanian personal code (asmens kodas) has the same structure as the Estonian code: eleven digits, starting with a digit that gives the century and sex (3 and 4 for the 1900s, 5 and 6 for the 2000s, odd for men), followed by the date of birth, a three-digit serial and a check digit calculated with a two-stage modulo 11 method. It is used in healthcare, tax, banking and the national electronic identification. This validator checks lists of codes and decodes the date of birth and sex.

Who this is for

HR and payroll staff in Lithuania, banks, developers and anyone handling Lithuanian identity codes.

The structure

- G: century and sex; 1-2 for the 1800s, 3-4 for the 1900s, 5-6 for the 2000s, odd for men and even for women. - YYMMDD: date of birth. - NNN: serial for people born on the same day. - K: check digit.

The check digit

Multiply the first ten digits by 1, 2, 3, 4, 5, 6, 7, 8, 9, 1 and take the remainder of the sum divided by 11. If it is less than 10, it is the check digit. If it is 10, use the weights 3, 4, 5, 6, 7, 8, 9, 1, 2, 3; if the remainder is again 10, the check digit is 0. For 3870318174, the check digit is 5: 38703181745 belongs to a man born on 18 March 1987.

Code reform

Lithuania has discussed codes without personal data for the future, similar to Latvia's 2017 change. Current codes remain valid.

Foreigners

Foreigners with a residence permit receive a personal code in the same format.

Company codes

Companies in Lithuania have a nine-digit company code (juridinio asmens kodas) and VAT numbers starting with LT. They are not checked here.

Privacy

The code reveals date of birth and sex. Lithuanian law restricts its use to cases provided by law. This tool works locally.

Batch use

Paste one code per line. Each line shows the date of birth, sex and serial, or the reason for failure. Export as CSV.

Worked example

38703181745 is valid (male, born 18 March 1987), and 49001011238 is valid (female, born 1 January 1990).

Where the code is used

The personal code appears on identity cards and passports and is used for tax, the State Social Insurance Fund (Sodra), healthcare and electronic identification. Employers report new employees to Sodra with the personal code, so a typo delays social insurance records.

Data entry tips

Copying codes from scanned documents often introduces errors such as the letter O for zero. The validator ignores non-digits, which shows such cases as a wrong length rather than a wrong check digit.

Limits

A valid format does not prove that a code was issued. The Residents' Register is the authority.

Worked example

38703181745 is valid: a man born on 18 March 1987, with check digit 5.

Quick facts

Frequently asked questions

What does a Lithuanian personal code look like?

Eleven digits: century and sex digit, date of birth, serial and check digit.

Is it the same as the Estonian code?

The structure and check method are the same.

How is sex shown?

The first digit is odd for men and even for women.

Do foreigners get a personal code?

Yes, foreigners with residence permits receive one in the same format.

Does the tool check company codes?

No, only personal codes.

Are the codes uploaded?

No. They are checked in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages