This tool checks a Moroccan CIN / CNI (Carte Nationale d’Identité, البطاقة الوطنية) number. It verifies the format and maps the letter prefix to the issuing bureau or region. It is for quick format checks, not proof of authenticity.
How it works
A CIN is 1-2 letters followed by 1-6 digits. The validator confirms the input matches that pattern, then splits it into a letter prefix and a digit serial. The prefix is looked up in a table of regional bureau codes — for example A/B map to Rabat, V/W/X to Casablanca, N to Fès, and J to Agadir / Souss-Massa. Two-letter prefixes are reported by the first letter’s region, with the second letter indicating a series rollover.
Morocco publishes no check-digit algorithm, so the tool cannot mathematically prove a number is genuine — it confirms the format and suggests a likely region.
Example
The number BE123456 parses as prefix BE (Casablanca, série B) and serial 123456, with a valid format.
| Prefix | Region |
|---|---|
| A, B | Rabat |
| V, W, X | Casablanca |
| N | Fès |
| J | Agadir / Souss-Massa |
| K | Tanger |
All processing happens locally in your browser and the number never leaves your device.