User Rating 0.0
Total Usage 1 times
Is this tool helpful?

Your feedback helps us improve.

About

The IMEI Generator is a specialized developer tool designed to create syntactically valid International Mobile Equipment Identity (IMEI) numbers for testing purposes. An IMEI is a unique 15-digit identifier used by GSM networks to identify valid devices. This tool is essential for QA engineers, app developers, and database administrators who need to validate input fields, test database constraints, or simulate mobile device inventories without using real sensitive data.

By selecting a specific manufacturer or model, the generator applies the correct Type Allocation Code (TAC) to ensure the generated numbers mimic real-world devices. The final digit is calculated using the standard Luhn algorithm (modulus 10), ensuring the IMEI passes validity checks used by most software systems.

imei luhn algorithm mobile verification mock data

Formulas

A standard 15-digit IMEI follows the format: AA-BBBBBB-CCCCCC-D. To generate a valid number, the tool follows this algorithmic logic:

  • Step 1: TAC Selection. The first 8 digits (Type Allocation Code) are selected based on the device model (e.g., 35460548 for iPhone).
  • Step 2: Serial Generation. The next 6 digits (SNR) are randomized to ensure uniqueness (000000 to 999999).
  • Step 3: Concatenation. The TAC and SNR are combined to form the first 14 digits.
  • Step 4: Luhn Check Digit. The 15th digit is calculated using the Luhn Algorithm:
    1. Double every second digit starting from the right.
    2. If the product is greater than 9, sum its digits (e.g., 12 becomes 1+2=3).
    3. Sum all resulting digits.
    4. The Check Digit is the number required to make the total sum a multiple of 10.

Reference Data

ManufacturerModel ExampleTAC Prefix (8-digits)
AppleiPhone 14 Pro35460548
SamsungGalaxy S2335370256
GooglePixel 735158625
XiaomiRedmi Note 1286053806
OnePlusOnePlus 1186623606
SonyXperia 1 V35565650
GenericGSM Standard35293209

Frequently Asked Questions

No. These numbers are mathematically valid but random. They do not exist in the GSMA database as registered devices and cannot be used for network whitelisting or unlocking locked hardware.
An IMEI consists of three parts: the Type Allocation Code (TAC, 8 digits), the Serial Number (SNR, 6 digits), and the Check Digit (1 digit) calculated via the Luhn formula.
Developers use them to test input forms (e.g., regex validation), verify backend logic for device registration systems, and populate mock databases without compromising real user privacy.