Bahrain CPR Number Format Checker and Decoder

Paste CPR numbers to check that each has nine digits and a valid birth month, and see the year and month of birth for each one.

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 CPR per line.

  2. 2
    Read the results

    See the format result for each line.

  3. 3
    See the birth month

    A good line shows the month and year of birth.

  4. 4
    Export

    Copy the good lines or download the CSV.

About this tool

Every citizen and resident of Bahrain has a Central Population Register (CPR) number issued by the Information and eGovernment Authority (iGA), printed on the smart identity card. The number has nine digits. The first two are the year of birth and the next two the month of birth, followed by four serial digits and a final digit. Because the authority does not publish the rule for the last digit, this tool checks the parts that can be checked: the length and a real month of birth. It decodes the year and month of birth, works through lists and helps you catch typing errors before a form is submitted.

Who this is for

Developers building forms for Bahraini users, HR and admin teams entering staff data, and anyone cleaning a list of identity numbers.

What is checked

The tool removes spaces and dashes and converts Arabic-Indic digits, then checks that the number has exactly nine digits and that the month in digits three and four is between 01 and 12. The year in the first two digits is read as the 2000s if it is not later than the current year, and as the 1900s otherwise, so 85 becomes 1985 and 03 becomes 2003.

What is not checked

The final digit is generally described as a check digit, but the calculation is not published by the authority, so the tool does not test it. A number that passes here has the right shape, but it can still contain a wrong digit. For an official check, use the iGA's services, the eKey or the government apps, which confirm the person's identity.

Batch checking

Paste one CPR per line. The summary shows how many lines have the right format, and the table shows the decoded month and year of birth or the reason for a failure. You can copy the good lines or download a CSV.

Using it in forms

When building a Bahraini form, ask for the CPR as nine digits, accept Arabic digits, check the length and the month, and use the date of birth as a cross-check: if a user types a birth date that does not match the year and month in the CPR, ask them to confirm. This catches many typing errors.

Privacy

CPR numbers are personal data under Bahrain's Personal Data Protection Law. Collect them only when needed and store them safely. The tool runs in your browser and sends nothing to a server.

Worked example

In the list 850712345, 031254321, 991312345 and 12345678, the first two pass (born July 1985 and December 2003), the third fails because month 13 does not exist, and the fourth fails because it has only eight digits.

Limits

This checks CPR formatting only, not identity, and is not legal advice. The iGA is the official source.

Worked example

850712345 has the right format and shows a birth month of July 1985, while 991312345 fails on the month.

Quick facts

Frequently asked questions

How many digits does a Bahrain CPR have?

Nine.

What do the first four digits mean?

The year and month of birth.

Does the tool check the last digit?

No. The rule for it is not published, so only the format is checked.

Does a pass confirm identity?

No. Use the iGA's services for official checks.

Can I check a list?

Yes. Paste one number per line and download the CSV.

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