Article updated in February 2026 to reflect the latest developments in Algerian electronic national identity cards (CNIBE) and online document verification tools.
The Algerian National Identity Card (CNIBE) is an official document that allows any Algerian citizen to prove their identity and, when valid, their Algerian nationality, in the same way as a passport.
Used in many contexts (KYC, banking, insurance, real estate, public administrations, digital platforms), the CNIBE is also exposed to risks of document fraud: expired cards, visual alterations, inconsistencies between displayed information, MRZ tampering, or alteration of security features.
In 2026, it is possible to carry out an initial online verification through document analysis and automatic MRZ reading, before completing this analysis with a thorough visual inspection of the physical security features.
How can you verify an Algerian identity card (CNIBE) online and ensure that the document presented is authentic?
This guide answers the question through 4 essential control steps.
Need more information on how to verify the authenticity of your ID documents ? Check out our comprehensive guide to verifying ID documents, which includes all the resources available !
Check 0: automatic online verification of the CNIBE
Before any visual inspection, it is now possible to perform an initial automated verification using a simple image of the card.
This step makes it possible to:
- automatically read the MRZ
- validate check digits
- verify field consistency (name, date of birth, expiration date, nationality, document number)
- detect common input errors or inconsistencies
- generate a time-stamped PDF report
⚠️ There is no public database allowing the official validation of an Algerian national identity card.
Online verification therefore relies exclusively on document analysis and must always be complemented by a visual inspection of security features.
Check 1: general appearance of the Algerian national identity card (CNIBE)
When access to the original document is possible, the first step is to examine the overall appearance of the card.
The CNIBE must show no signs of cutting, delamination, gluing, overprinting, or visible alteration.
Particular attention should be paid to:
- the photo area (and its edges)
- the edges of the card
- raised or embossed printed areas
Any signs of scratching, heating, partial replacement, or retouching should be considered a red flag.
The electronic identity card is issued in ID-1 format (credit-card size) and is designed to make alteration attempts more visible.
Check 2: cross-checking and consistency of information
The second step consists of checking the consistency of the information visible on the card and its correspondence with the data encoded in the MRZ.
Key elements to cross-check:
- Document number: shown on the front of the card and in the first MRZ line
- Date of birth: shown on the card and at the beginning of the second MRZ line (YYMMDD format)
- Surname and given names: visible on the card and in the third MRZ line
- Expiration date: shown on the card and in the second MRZ line (YYMMDD format)
Any discrepancy, even minor, between the printed fields and the MRZ should be treated as a warning requiring further investigation.
It is also recommended to check the overall logic of the document: holder’s age, validity period, field logic, and date formats.
Document Number
The document number can be found in two different places: at the top of the front side and in the first line of the MRZ strip.
It consists of 9 characters.


Date of Birth
The holder’s date of birth can also be found in two distinct places: in the middle of the front side of the card, and at the beginning of the second MRZ line in YYMMDD format:


Name and First Name(s)
Similarly, the names and first names can be found on the back of the card and in the third line of the MRZ strip:

Card Expiry Date
Finally, the last element present twice on the card: the expiry date, which can be found on the front side as well as in the second MRZ line in YYMMDD format:


Individuals, do you occasionally need to verify one or more identity documents ?
Professionals, do you need to integrate proof of identity validation into one of your business processes, including all European identity cards and global passports ?
Check 3: MRZ verification and check digits
The Algerian national identity card (CNIBE) includes a three-line MRZ compliant with ICAO standards.
The MRZ contains the main document information in a standardized format and integrates four check digits designed to detect reading errors and many falsification attempts.
MRZ analysis allows you to:
- verify the document structure
- mathematically validate the encoded data
- detect transcription errors or inconsistencies
The check digits are based on the standard ICAO algorithm using fixed weightings (7, 3, and 1), making this verification reliable, fast, and easily automatable.
Composition of the MRZ strip of the Algerian identity card
First line

- Document Type: 2 characters, code indicating the type of document, represented by the letters “ID”.
- Issuing Country: 3 characters, the ISO 3166-1 alpha-3 code of the issuing country.
- Card Number: 9 characters, unique card number.
- Check Digit: 1 character, check digit of the unique card number.
- End of Line: chevrons “<” to complete the line.
Second line

- Date of Birth: 6 characters, year, month and day of birth in YYMMDD format.
- Check Digit: 1 character, check digit for date of birth.
- Gender: 1 character, “M” or “F”.
- Expiry Date: 6 digits, card expiry date in YYMMDD format.
- Check Digit: 1 character, check digit for expiry date.
- Country Code: 3 characters, ISO 3166-1 alpha-3 code of the holder’s nationality.
- Separator: 11 characters, “<“.
- Check Digit: 1 character, check digit of concatenation of characters line 1 positions 6-15, line 2 positions 1-7, line 2 positions 9-15.
Third line

- Name and Given Names of the Holder: holder’s last name followed by the first name(s). The last name and first name are separated by two “<” characters. In case of a compound last name, compound first name or multiple first names, they are separated by one “<” character. Spaces and apostrophes are replaced by “<” and the name is truncated at 30 characters if needed, with any accents removed. The line is then completed by a “<” character.
Verify an Algerian identity card with the MRZ security keys
An Algerian identity card includes 4 check digits (or security keys) that validate the information preceding them.
They help prevent transcription errors or modifications, intentional or not.
How does the algorithm work?
The algorithm used to create and validate check digits is common to all identity documents: characters have a weight multiplied by a factor depending on their position in the string (7, 3, and 1).
Digits have their own values (“0” equals 0, “1” equals 1, etc. up to “9” equals 9), the chevron “<” has a value of 0, while letter weights start at 10 for “A”, 11 for “B”, up to 35 for “Z”.
Example
Let’s take as an example the check digit for the date of birth of the specimen above.
The string to validate is: “840622”.
To calculate the check digit, proceed as follows:
– “8” has a weight of 8 and is in the first position, so multiply by 7: 8 * 7 = 56
– “4” has a weight of 4 and is in the second position, so multiply by 3: 4 * 3 = 12, added to the previous 56 gives 12 + 56 = 68.
– “0” has a weight of 0 and is in the third position, so multiply by 1: 0 * 1 = 0, added to the previous 68 gives 0 + 68 = 68.
– 6 * 7 = 42 and 42 + 68 = 110
– 2 * 3 = 6 and 6 + 110 = 116
– 2 * 1 = 2 and 2 + 116 = 118
We get a total of 118, from which we take modulo 10 (the remainder of Euclidean division by 10), which means keeping only the last digit, “8”.
Our check digit is therefore invalid because the document shows a 6!
Check 4: Verify an Algerian identity card with its physical security features
This final step aims to confirm the material authenticity of the CNIBE.
It complements document analysis (MRZ + data consistency) with the examination of security features that are difficult to reproduce, including:
- laser engraving (front and/or back, raised areas)
- secondary “ghost” image
- holographic devices (visual effects depending on angle)
- optically variable features (color changes depending on viewing angle)
- elements visible only under ultraviolet (UV) light
Some of these features can be checked with the naked eye, while others require specialized equipment.
Front side
Laser engraving
Laser engraving of the raised characters:


Ghost photo
A secondary “ghost” photo is visible to the right of the main photo:

Ultraviolet check
Some features are only visible under ultraviolet light, but this requires specialized equipment (so not suitable for verifying an Algerian identity card online):

Hologram
Elements become visible when changing the orientation of the card:

Colors change when turning the card 90°:


Back side
Laser engraving
Laser engraving of the raised characters:


Optically variable feature:
The color changes when the orientation of the card is changed.

Conclusion
You now have a structured method to verify an Algerian identity card (CNIBE) online: MRZ analysis, data cross-checking, and visual inspection of security features.
Without specialized equipment, this combined approach already allows detection of a large proportion of common document fraud cases.
To go further, it is also possible to use an online document verification solution.
For example, TrustDocHub allows automatic verification of a CNIBE from an image, with results returned directly in the application and as a PDF report.
Individuals, do you occasionally need to verify one or more identity documents ?
Professionals, do you need to integrate proof of identity validation into one of your business processes, including all European identity cards and global passports ?



