Generators

IMEI Generator

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

Loading interactive tool…

Embed this tool on your site

About this tool

The Sample IMEI Generator creates valid-format 15-digit International Mobile Equipment Identity (IMEI) numbers for testing and development. Each IMEI has a Luhn (mod 10) check digit in the 15th position, so it passes standard IMEI format validation. By default the first 14 digits are random; type your own TAC prefix (the Type Allocation Code that identifies a device model, normally 8 digits) and every IMEI will start with it, with the remaining digits randomised. Generate 1 to 100 at a time, optionally shown in the grouped XX-XXXXXX-XXXXXX-X layout, and copy the whole list in one click. These sample IMEIs suit mobile device management (MDM) software, carrier and inventory systems, and any application that validates IMEI format. They are not registered to real devices.

Why use it

  • Every IMEI is 15 digits with a correct Luhn check digit, so it passes standard IMEI validators.

  • An optional custom TAC prefix keeps test data on a device model you choose.

  • Up to 100 IMEIs per click for database and API testing.

  • Optional dashed formatting matches how IMEIs are often printed on labels.

How to use

  1. Optionally type a TAC prefix (digits only, up to 8) in the TAC prefix field; leave it blank for fully random IMEIs.
  2. Set Count from 1 to 100 (default 5).
  3. Tick Show formatted to display each IMEI as XX-XXXXXX-XXXXXX-X instead of 15 plain digits.
  4. Click Generate to create the list; each IMEI ends in a valid Luhn check digit.
  5. Click Copy all to copy every IMEI to your clipboard.

When it helps

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

Examples

Custom TAC prefix

Input

TAC prefix: 35693803, Count: 1

Expected result

356938030167010 (starts with your TAC, ends in a valid Luhn digit)

Random IMEIs

Input

TAC prefix: blank, Count: 3

Expected result

345743478210411 159349124882010 248120785938265 (each ends in a valid Luhn digit)

Formatted output

Input

TAC prefix: 35360710, Show formatted: on

Expected result

35-360710-148983-4

Non-digit TAC ignored

Input

TAC prefix: ab12

Expected result

883801100747867 (prefix ignored; all 14 body digits random)

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 Show formatted only for display; most validators expect the 15 plain digits without dashes.

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.
Does it generate IMEI-SV numbers?
No. The tool only produces standard 15-digit IMEIs with a Luhn check digit; it has no 16-digit IMEI-SV mode.
What happens if my TAC prefix contains letters?
The prefix is used only when it is all digits. If it contains anything else, it is ignored and the whole 14-digit body is random.

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.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities