CNI Generator

Click to generate a random CNI code.


Use the CNI generator to create a valid CNI number.

The alghorythm used to generate the CNI code is the same that guarantees basic authentication on website forms, as it merely follows a given pattern. Generated CNI's are possibly not even real and shouldn't be used on attempt of any illegal activity.

What is CNI?

CNI stands for "Carte Nationale d'Identité," which translates to "National Identity Card" in English. The CNI is an official identification document issued by the French government to French citizens. It serves as a proof of identity and nationality within France and certain other European Union (EU) countries.

The CNI contains personal information about the cardholder, including their full name, date and place of birth, photograph, signature, and the card's expiration date. It is an important document for various purposes, such as accessing public services, traveling within the EU, and conducting official transactions.

The French National Identity Card is generally valid for 10 years for adults and 5 years for minors. It is issued by the local government authorities and is mandatory for French citizens aged 18 and above. The CNI is an alternative to a French passport for travel within the EU and some other countries that accept it as a valid travel document.

Generation and Validation of CNI

The CNI generator use a two line machine readable zone with 72 characters based on a random person's name, random birthday and sex.

Using the tool

This tool was developed for programmers and testers who have the constant need to enter different CNI numbers in developing forms.