UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

Sample IMEI Generator

Generate structurally valid sample IMEI numbers with correct Luhn check digits for testing mobile device applications.

About Sample IMEI Generator

The Sample IMEI Generator creates valid-format 15-digit International Mobile Equipment Identity (IMEI) numbers for testing and development use. Each generated IMEI has a valid Luhn algorithm check digit in the 15th position, ensuring it passes standard IMEI format validation. The tool also optionally generates IMEI-SV (IMEI with Software Version, 16 digits) for devices that require it. You can select a TAC prefix (Type Allocation Code, the first 8 digits identifying manufacturer/model) from a set of common manufacturer codes, or generate with a random TAC. These sample IMEIs are suitable for testing mobile device management (MDM) software, carrier systems, inventory systems, and any application that validates IMEI format.

Why use Sample IMEI Generator

  • Generates IMEIs with correct 15-digit format and Luhn check digit.
  • Supports IMEI-SV (16-digit) format as well.
  • Optional TAC prefix selection for manufacturer-specific test data.
  • Bulk generation for database and API testing.
  • Every generated IMEI has a valid Luhn check digit — passes any compliant 15-digit IMEI validator.
  • Optional IMEI-SV (16-digit) format for testing 3G/4G/5G provisioning systems that use it.

How to use Sample IMEI Generator

  1. Click Generate to create a sample IMEI with a valid Luhn check digit.
  2. Optionally select a manufacturer TAC prefix.
  3. Toggle IMEI-SV format for 16-digit output.
  4. Use Bulk mode to generate multiple IMEIs for test seeding.
  5. Click Generate to create a sample IMEI with a valid 15-digit format and Luhn check digit.
  6. Optionally select a manufacturer (Apple, Samsung, Xiaomi, etc.) to use a realistic 8-digit TAC prefix.
  7. Toggle IMEI-SV format for a 16-digit output that replaces the check digit with a 2-digit Software Version Number.

When to use Sample IMEI Generator

  • Testing IMEI validation in mobile device management or carrier software.
  • Seeding device inventory databases with IMEI fields.
  • Generating mock device data for development and demo environments.
  • Unit testing Luhn algorithm implementations.
  • Testing IMEI validation in mobile device management (MDM), carrier provisioning, or inventory software.
  • Seeding device databases for staging environments with realistic-looking IMEI columns.

Examples

Apple iPhone IMEI

Input: Manufacturer: Apple

Output: 356938035643809 (sample only — Luhn-valid, TAC 35693803 not registered to a real device)

Samsung IMEI

Input: Manufacturer: Samsung

Output: 354123456789012 (sample only — for testing only)

Bulk random IMEIs

Input: Count: 3, Manufacturer: random

Output: 490154203237518 358240051111110 861234567890124 (each ends in a valid Luhn digit)

IMEI-SV format

Input: Mode: IMEI-SV, Manufacturer: Xiaomi

Output: 8612345678901242 (16 digits, last two are SVN, no Luhn)

Tips

  • Always store generated IMEIs in a clearly named fixture (e.g. tests/fixtures/sample-imeis.csv) so they never get treated as real devices.
  • If your validator rejects a generated IMEI, confirm it uses Luhn (mod 10) — some custom validators check additional rules like a real-TAC lookup which the sample data won't match.
  • Pair sample IMEIs with sample MEID or ICCID values when your test flow needs more than one device identifier.
  • Never submit a generated IMEI to a carrier, GSMA, or device-locating service — that is fraudulent and traceable.
  • When fuzz-testing, mix valid IMEIs with deliberately broken ones (14-digit, alphanumeric, bad checksum) to verify error handling paths.
  • For device-tracking or anti-theft tests, prefer tagging your sample IMEIs in the database with a TEST_ prefix on the device name to prevent accidental real-world use.
  • Use IMEI-SV mode for 3G/4G provisioning tests — older systems using just 15-digit IMEI may differ in validation logic.

Frequently Asked Questions

What is an IMEI?
An International Mobile Equipment Identity (IMEI) is a 15-digit number that uniquely identifies mobile phones. It is used by networks to identify valid devices and can be used to block stolen phones.
Are generated IMEIs real device identifiers?
No. They have valid format and Luhn check digit but are not registered to any real device. They will not match records in GSMA device databases.
What is the Luhn algorithm?
The Luhn algorithm (mod 10 algorithm) is a simple checksum formula used to validate identification numbers including IMEI, credit card numbers, and NPI codes. The last digit is the check digit.
What is a TAC?
The Type Allocation Code is the first 8 digits of an IMEI. It identifies the manufacturer and model of the device. TACs are assigned by the GSMA.
What is IMEI-SV?
IMEI-SV (IMEI with Software Version) is a 16-digit variant used in 3G/4G networks. It replaces the last Luhn check digit with a 2-digit Software Version Number (SVN).

Explore the category

Glossary

IMEI
International Mobile Equipment Identity — a 15-digit number that uniquely identifies a mobile phone or cellular-equipped device, used by carriers to authorize devices on their networks.
Luhn algorithm (mod 10)
A simple checksum formula that detects single-digit errors and most transpositions. Each digit is doubled or kept on alternation, doubled values >9 have their digits summed, the total is summed, and the check digit is chosen so the grand total is divisible by 10.
TAC
Type Allocation Code — the first 8 digits of an IMEI. It identifies the manufacturer and exact model of the device. TACs are issued by the GSMA from a central registry.
IMEI-SV
IMEI with Software Version — a 16-digit variant used in 3G/4G/5G networks. The 15th and 16th digits are the Software Version Number (SVN); there is no Luhn check digit.
GSMA
Global System for Mobile Communications Association — the international trade body for mobile carriers that maintains the official TAC registry and IMEI allocation scheme.
Serial number (IMEI)
Digits 9-14 of an IMEI — a 6-digit serial number assigned by the manufacturer to uniquely identify each device within a TAC.
MEID
Mobile Equipment Identifier — a 14-character hexadecimal alternative to IMEI used by some CDMA networks; superseded by IMEI on most modern devices.
Check digit (IMEI)
The 15th digit of a standard IMEI, computed from the first 14 digits using the Luhn algorithm. It detects most data-entry errors.