Second-generation ID number generator in mainland China: online automatic random generation of ID numbers

以下ChinaThe ID number generator can quickly and automatically generate the second-generation ID number in mainland China:


How to use the second generation ID number generator in mainland China?

  1. Place of birth:Select the province or city (this option determines the "location" code of the ID number);
  2. date of birth:Select the date of birth (you can quickly specify the year, month, and day of birth);
  3. gender:Select gender, which will determine the "sequence code" of the generated ID number (if it is male, the sequence code will be odd; if it is female, the sequence code will be even);
  4. Production quantity:Select the production quantity from 1 to 10, and a maximum of 10 ID numbers can be generated in batches at one time.
  5. Finally click "ID card generation” button ▼

Second-generation ID number generator in mainland China: online automatic random generation of ID numbers

  • The Chinese mainland ID number generator online automatically and randomly generates the second-generation ID card number, which can generate ID card numbers that meet the GB 11643-1999 Chinese mainland national standards according to specified conditions, such as: place of birth, date of birth, gender, etc.
  • This tool generates an 1999-digit ID number according to the GB 11643-1999 standard issued by the State Bureau of Quality and Technical Supervision in 18. The generated result does not represent the actual ID number and is for reference only (do not use it for illegal purposes).

Why use a Chinese second-generation ID number generator?

  • when you apply for certain game appssoftware,E-commerceWhen purchasing an account online (the ID number needs to be filled in), the ID card number can be generated by the second-generation ID card generator in mainland China.

Disclaimer

  • This website is for learning use only, and the user's behavior has nothing to do with this website.
  • This tool is a convenient tool for generating second-generation ID numbers. It can randomly generate "legitimate" ID numbers based on the place of birth, date of birth and gender.The legal here refers to the ID number that conforms to the national GB 11643-1999 standard, but it is not the real ID number.
  • The ID number generated by this tool is purely randomly generated, and is only used for learning and testing registered accounts, and should not be used for illegal purposes.

Please Note

If you need to fill in the registered accountcellphone number, you can use the followingcellphone numberGenerator▼

If you also need to receive SMSVerification code, can applyvirtual phone numbercode▼

Encoding Rules for Second Generation ID Numbers in Mainland China 

The second-generation citizen ID card in mainland China has a total of 18 digits. According to the regulations on the citizen ID number in the National Standard of the People's Republic of China GB 11643-1999: the citizen ID number is a feature combination code, which consists of a 17-digit body code and a 1-digit school code composition.

From left to right are:

  • 6-digit address code: indicates the code of the province (municipality, autonomous region), city and county where it is located;
  • 8-digit birth date code: Indicates the citizen's birth year (4 digits), month (2 digits), and day (2 digits);
  • 3-digit sequence code: the sequence code representing the same place of birth, where odd numbers represent males and even numbers represent females;
  • 1-digit check code: Check code generated from the preceding 17 digits (calculated according to ISO 7064:1983.MOD 11-2).

The following figure clearly shows the coding rules of the second generation ID number in mainland China ▼

Coding Rules for Second Generation ID Numbers in Mainland China Sheet 5

 

The following will introduce the coding rules of the second-generation citizen ID card in detail, according to the resident's place of birth (address code), date of birth, sequence code and check code.

Positions 1-6: Location

The 1st to 6th digits are the address code, indicating the administrative division code of the county (city, district) where the person's permanent residence is located.

Among them, the first two represent specific provinces (municipalities directly under the Central Government, autonomous regions, special administrative regions), and the codes are as follows:

  • 11-15: Beijing-Tianjin-Hebei Jinmeng
  • 21-23: Liao Ji Hei
  • 31-37: Shanghai, Jiangsu, Zhejiang, Anhui, Fujian, Jiangxi and Shandong
  • 41-46: Henan, Hubei, Hunan, Guangdong, Guiqiong
  • 50-54: Yuchuan Guiyun Tibet
  • 61-65: Shaanxi-Gansu Qingning New

The 3rd and 4th digits are the city code, and the 5th and 6th digits are the district and county codes.The location on the ID number is represented by this 6-digit code.

Nos. 7-14: Date of birth

  • The 7th to 14th digits are the date of birth code, indicating the citizen's birth year, month, and day, a total of 8 digits.Among them, the year is 4 digits, and the month and day are 2 digits (less than two digits are preceded by 0).
  • Such as: 19970430, which means born on April 1997, 4.

Bits 15-17: Sequence code

  • The 15th to 17th bits are the sequence code.Sequence code refers to the sequence number assigned to people born in the same year, month, and day in the same region, with a total of 3 digits.
  • Among them, odd numbers are assigned to men and even numbers are assigned to women.

Bit 18: Check Digit

The last digit of the ID number is the check digit.The check digit is based on the first 17 digits, according to the specified calculation rules.

The check code is calculated as follows:

  1. For the first 17 digits, each digit is multiplied by a corresponding factor, and these products are summed to obtain the value A.The factor used in this step is a fixed sequence of 17 digits: 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4 ,2.That is to say, for the 17 numbers obtained earlier, the first number is multiplied by 1; the second number is multiplied by 7; the third number is multiplied by 2 ... and so on.For example, the first 9 digits of an ID number are 43050220040304292, then according to the algorithm requirements, the calculation formula is:A = 4 * 7 + 3 * 9 + 0 * 10 + 5 * 5 + ... + 2 * 2
  2. Divide the sum from step 1 by 11 and get the remainder.For example, after multiplying the 17-digit ID number and the factor in the above example, the calculated sum is 207, and then calculate 207 / 11 The remainder of , yields 9.
  3. According to the remainder obtained in step 2, compare the check code table below to obtain the corresponding check code (where X represents 10 in Roman numerals).
    remainderCheck code
    01
    10
    2X
    39
    48
    57
    66
    75
    84
    93
    102
    • According to the above comparison table, when the remainder is 9, the corresponding check code is 3, so the resident's citizenship number should be430502200403042923.

    There are also 4 major national ID number generators, which can randomly generate China, Hong Kong, Taiwan and South Korea ID numbers online ▼

    Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Mainland China Second-Generation ID Number Generator: Automatically Randomly Generate ID Number Online", which is helpful to you.

    Welcome to share the link of this article:https://www.chenweiliang.com/cwl-2084.html

    Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

    🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
    📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
    Share and like if you like!
    Your sharing and likes are our continuous motivation!

     

    2 people commented on "Second Generation ID Number Generator in Mainland China: Generate ID Numbers Automatically and Randomly Online"

    Comment

    Your email address will not be published. Required fields * Callout

    scroll to top