Test data, Luhn checked
IMEI Generator
Generate random 15-digit IMEI numbers with a Luhn check digit that passes. Free tool for test data, plus how TAC, serial and check digits work.
| IMEI | Brand / model | Check |
|---|---|---|
| 352099001283742 | Nokia 105 | Valid (Luhn) |
| 352099004629107 | Nokia 105 | Valid (Luhn) |
| 352099009051737 | Nokia 105 | Valid (Luhn) |
| 352099002376586 | Nokia 230 | Valid (Luhn) |
| 352099007810241 | Nokia 230 | Valid (Luhn) |
| 356938035124677 | Samsung Galaxy A05 | Valid (Luhn) |
| 356938038305299 | Samsung Galaxy A05 | Valid (Luhn) |
| 356938031462931 | Samsung Galaxy A15 | Valid (Luhn) |
| 356938036723188 | Samsung Galaxy A15 | Valid (Luhn) |
| 356938033084964 | Samsung Galaxy A15 | Valid (Luhn) |
What an IMEI actually is
An IMEI — International Mobile Equipment Identity — is the 15-digit number a phone reports when it wants to identify itself to a network. It is not a serial number printed on a box for warranty purposes (that is the serial number); it is the identity the radio uses, and it is the number you see when you dial *#06# on almost any handset.
The 15 digits are built in three parts:
| Digits | Part | Who controls it |
|---|---|---|
| 1–8 | TAC — Type Allocation Code | Allocated by the GSMA to the manufacturer for a model |
| 9–14 | Serial number | Chosen by the manufacturer |
| 15 | Check digit | Calculated with the Luhn formula |
Older devices can report a 16-digit IMEISV instead, where the last two digits are a software version. The first 14 digits mean the same thing.
Where the check digit comes from
The last digit is a Luhn check digit computed over the first 14. The rule works like this: starting from the rightmost digit of the first 14 (that is, the digit just before the check digit) and moving left, double every second digit; if a doubled digit comes out above 9, subtract 9. Add everything up, and pick the check digit that makes the total a multiple of 10.
A quick example. Take the 14 digits 35209900128374. Doubling every second digit from the right and subtracting 9 where needed gives a sum of 58, so the check digit has to be 2, and the full IMEI is 352099001283742. Type that into any Luhn checker and it will pass. The tool above does exactly the same calculation — nothing is copied from a device, every number is built from a TAC, six random serial digits and a computed check digit.
What the generator does, step by step
- Pick a brand, or leave it on Any brand to mix them. Each brand in the list carries one or two real-world style TAC prefixes.
- Pick a device type — smartphone, feature phone or tablet — or leave it on Any type.
- Pick how many numbers you need (10, 25 or 50) and press Generate IMEIs.
- The table gives you the IMEI, a brand and model pair that matches the TAC it was built from, and a check column showing whether the Luhn digit is valid. Every number in the default table is valid.
- Use Copy all for a plain list of numbers, or Download CSV for a spreadsheet with the brand and model columns.
Where people use these numbers
Testing a checkout or activation screen that validates an IMEI field, generating rows for a device-tracking demo, checking that your Luhn implementation is right, or seeding a support tool with fake handsets. In every one of those cases the number never leaves the test environment, and that is the only way it should be used.
An IMEI is how a network decides whether a handset is allowed on. Writing a made-up IMEI onto a device, using one to report a stolen phone as clean, or generating one to impersonate another handset is a criminal offence in most countries and the numbers involved get blacklisted, which takes the device off the network for good. This tool is for testing software, not for touching hardware.
A note on the brand names
Company names appear only to describe what a TAC prefix typically belongs to, so that test data looks realistic. TAC allocation is public information published by the GSMA; none of the numbers generated here correspond to a device that exists, and none of them is looked up, scraped or cloned from a real handset.
Frequently asked questions
What is the difference between an IMEI and an IMSI?
An IMEI is the 15-digit identity a mobile phone reports to a network: 8 digits of type allocation code, 6 digits of serial number and one Luhn check digit. The IMSI is different. An IMSI identifies the SIM subscriber, and it is held by the carrier, not the phone.
Do the IMEI numbers show up without JavaScript?
Yes, for the ten rows in the table above. They are written into the page as HTML by the server, so they are there with JavaScript disabled. JavaScript is only used when you press Generate IMEIs, Copy all or Download CSV.
Do the generated IMEIs pass the Luhn check?
Yes. Every number is built as an 8-digit TAC, six random serial digits and a check digit computed with the Luhn formula, so you can run any of them through a Luhn checker and they pass. There is no valid IMEI for a device that does not exist — the number is arithmetically correct, that is all.
How can I check the IMEI of a phone I already own?
No. Dial *#06# on the handset itself. If the number it shows does not match the box or the invoice, the device has been reprogrammed, which is a strong sign of a stolen or refurbished handset.
Can I use a generated IMEI on a real phone?
Write it to a handset, register it on a network, report it as stolen, or use it to pretend to be another device. In most countries that is a criminal offence, and carriers maintain blacklists that take the device off the network permanently.
How do you know which TAC belongs to which brand?
TAC prefixes are published by the GSMA, which allocates them to manufacturers for each model. We use a small set of well-known prefixes so that the output looks like a real table would. No number is copied from a real handset and we do not run a database of devices.
How is the check digit calculated?
The Luhn formula: from the rightmost of the first 14 digits, double every second digit, subtract 9 from any result above 9, sum everything, and take the digit that makes the total a multiple of 10. The table above and the download both include it, and the Check column shows 'Valid (Luhn)' only when the arithmetic works out.
Is there a limit on how many IMEI numbers I can generate?
There is no sign-up, no email and no daily limit. Generate as many batches as you need for your test data.
Other generators on this site
Names & identity data
Other test-data tools