Turkey TC Identity Number Validator (TC Kimlik No)

Paste TC identity numbers to check the length, the first digit and both check digits, and make valid test numbers for forms.

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

…

How to do it

  1. 1
    Paste the numbers

    Type or paste one TC number per line.

  2. 2
    Read the results

    See valid or the reason for each line.

  3. 3
    Export

    Copy the valid TC numbers or download the CSV list.

  4. 4
    Make test values

    Generate numbers that pass, for testing only.

About this tool

Every Turkish citizen has an 11-digit identity number, the TC Kimlik No, used for banking, health care, tax and e-Devlet services. The number cannot start with zero, and its last two digits are check digits. The tenth digit is seven times the sum of the first, third, fifth, seventh and ninth digits, minus the sum of the second, fourth, sixth and eighth digits, taken modulo 10. The eleventh digit is the sum of the first ten digits modulo 10. These rules catch almost every typing mistake. This validator applies them to one number or a long list and can generate numbers that pass, for testing software only.

Who this is for

Developers building forms for Turkish users, HR and payroll staff entering employee data, and data teams cleaning customer records.

How the check works

1. Check that there are 11 digits and the first is not zero. 2. Add the digits in positions 1, 3, 5, 7 and 9 and multiply by 7. 3. Subtract the sum of the digits in positions 2, 4, 6 and 8. 4. The result modulo 10 must equal the 10th digit. 5. The sum of the first ten digits modulo 10 must equal the 11th digit.

For 10000000146: positions 1, 3, 5, 7 and 9 add to 2, times 7 is 14, minus 0 is 14, so the tenth digit is 4; the first ten digits add to 6, so the eleventh is 6. The number passes.

What a pass means

A pass means the number is well formed. It does not mean the number belongs to a living person, or to the person typing it. Identity verification is done through the official KPS service for authorised institutions or through e-Devlet.

Batch checking

Paste one number per line. The summary shows how many pass, the table gives the reason for each failure, and you can copy the valid numbers or download a CSV. Typical errors in old data include a lost first digit, numbers stored in scientific notation and foreign residents' numbers mixed in. Foreigners resident in Turkey receive numbers starting with 99, which follow the same check rules.

Test numbers

The make test values button produces numbers that pass both checks. They are for testing forms and software only and must never be used as real identities.

Privacy

The TC number is personal data under the Turkish data protection law, KVKK. Collect it only when you need it and protect it. The validator runs in your browser and sends nothing to a server.

Worked example

10000000146 and 12345678950 pass. 10000000147 fails because the eleventh digit should be 6, and 01234567890 fails because a TC number cannot start with zero.

Limits

It checks TC number formatting only; it does not confirm identity and is not legal advice.

Worked example

10000000146 passes both check digits, while 10000000147 fails on the eleventh digit.

Quick facts

Frequently asked questions

How many digits does a TC Kimlik No have?

Eleven, and it cannot start with zero.

How is the tenth digit checked?

Seven times the sum of digits 1, 3, 5, 7, 9 minus the sum of digits 2, 4, 6, 8, modulo 10.

How is the eleventh digit checked?

The sum of the first ten digits, modulo 10.

Does a pass confirm identity?

No. It confirms the format only.

Do foreigners' numbers work?

Yes. Foreign residents' numbers start with 99 and follow the same rules.

Is anything uploaded?

No. The check runs 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