IMEI generator & validator
Test data only
Generate structurally valid 15-digit IMEI numbers using real TAC prefixes from major manufacturers, or validate any existing IMEI number instantly. All generated IMEIs pass Luhn checksum validation. For software testing and development only.
Generated IMEI numbers
What this IMEI generator does
The generator produces 15-digit IMEI numbers that pass the Luhn check, so they are structurally valid. You can pick a brand (Apple, Samsung, Google Pixel, OnePlus, Xiaomi, Huawei, Nokia or Motorola) to start each number with that brand's TAC prefix, or leave the selector on random. The Validate tab checks any IMEI you paste, one at a time or in bulk, for length, digits and the Luhn check digit.
Generated IMEIs are random in their serial part. They are for software testing only: a device-ID field, a validation rule, a database column or a billing test that needs 15-digit input.
How to use it
- Choose a brand, or leave Any brand (random) selected.
- Choose how many IMEIs you need, from 5 to 100.
- Click Generate, then copy the list or download it as a CSV with the IMEI, brand and TAC columns.
- To check existing values, switch to the Validate tab and paste one IMEI, or several separated by new lines.
How an IMEI is built
An IMEI (International Mobile Equipment Identity) has 15 digits in three parts:
- TAC (first 8 digits): the Type Allocation Code. It identifies the manufacturer and model family. The GSMA assigns these codes.
- Serial number (next 6 digits): assigned by the manufacturer to each unit within a model.
- Check digit (last digit): calculated with the Luhn algorithm. The generator sets this digit so the whole number passes the Luhn check.
The Luhn check catches most single-digit typing mistakes. Passing it means the number is well formed. It does not show that the number belongs to a real device or that it is registered with a network.
Limits and responsible use
- A generated IMEI cannot identify a phone, a SIM or a person, and it will not connect to a mobile network.
- Do not use generated or copied IMEIs to clone, change or spoof a real device's identity, or to get around a block on a lost or stolen phone. Changing a device's IMEI is illegal in many countries, including India and the United States.
- Do not use these numbers in production systems. Real IMEI data should come from the device or from an authorised source.
For related test data, see the IMSI generator (the subscriber identity on a SIM), the UUID generator for other unique identifiers, and the full profile generator for a complete test user.
What is an IMEI number?
IMEI stands for International Mobile Equipment Identity. It is a unique 15-digit number permanently assigned to every mobile phone, smartphone, and most cellular-capable devices manufactured worldwide. Unlike a phone number — which belongs to a SIM card and can be transferred — the IMEI belongs to the physical device itself. It remains the same regardless of which SIM card is inserted or which carrier network the device connects to.
Mobile networks use the IMEI to identify devices connecting to their infrastructure. When a handset is reported stolen, carriers add its IMEI to the GSMA Device Check database — a shared blacklist used by mobile operators worldwide. A blacklisted IMEI cannot connect to any participating network, even with a brand new SIM card from a different carrier. This makes IMEI a critical component in anti-theft systems, device management platforms, insurance verification, and mobile network authentication.
How is an IMEI structured?
An IMEI has three components. The first eight digits form the TAC (Type Allocation Code), which identifies the device manufacturer and model family. TAC codes are allocated by the GSMA to approved device manufacturers. The next six digits are the serial number (SNR), assigned by the manufacturer to uniquely identify each individual unit within a model series. The final 15th digit is a check digit computed using the Luhn algorithm — a mathematical validation formula that detects data entry errors. Any IMEI that fails the Luhn check is structurally invalid and will be rejected by network equipment and validation systems.
TAC prefixes used in this generator
Each brand option starts with a fixed 8-digit TAC prefix: Apple iPhone (35841709), Samsung Galaxy (35674108), Google Pixel (35456810), OnePlus (86800002), Xiaomi (35726211), Huawei (86800003), Nokia (35332210), and Motorola (35488209). The remaining six digits are random, and a final Luhn check digit is calculated so every generated IMEI passes checksum validation. Because the serial digits are random, a generated IMEI is not tied to any real device.
Generate test IMEIs in bulk
Pick a brand or leave the selector on "Any brand" for a mix, choose how many IMEIs you need (up to 100 per run), then copy them or download a CSV with the IMEI, brand and TAC columns. Use the Validate tab to check IMEIs from your own test fixtures, either one at a time or pasted in bulk, one per line.
How to validate an IMEI number
Switch to the Validate tab above to check any IMEI number. The validator checks three things: correct length (must be exactly 15 digits), correct character set (digits only), and Luhn checksum validity. An IMEI that passes all three checks is structurally valid — it follows the correct format and could theoretically belong to a real device. Structural validity does not mean the IMEI is registered to an active device — for that, you would need to query the GSMA Device Check API.
Common use cases for generated IMEI numbers
Mobile application developers use generated IMEIs to test device identification logic without exposing real device identifiers. QA engineers populate test databases with bulk-generated IMEIs to validate input fields and test telecom billing systems. MDM (Mobile Device Management) platform developers simulate large device fleets during development and load testing. Security researchers test blacklist lookup APIs and IMEI validation services. Insurance platform developers test IMEI verification workflows. All these use cases require structurally valid IMEIs — random 15-digit strings fail immediately at the Luhn check stage.
Add &brand=apple to filter by manufacturer. Supports up to 100 IMEIs per request.
Combine IMEI numbers with realistic user profiles for complete mobile device testing datasets. Our profile generator creates consistent name, email, phone and address data in one click.