IMEI Generator & Validator
IMEI Generator – Create random 15-digit test IMEI numbers with a correct check digit for app testing, form validation and databases, or check whether an IMEI number has a valid format.
Generate test IMEIs
Validate an IMEI
What is an IMEI number?
IMEI stands for International Mobile Equipment Identity. Every phone and cellular device has one (dual-SIM phones have two). Mobile networks use it to identify the device, and it can be used to block a phone that has been reported stolen. You can see your own phone's IMEI by dialling *#06#, or in Settings → About phone.
How an IMEI is structured
| Part | Digits | Meaning |
|---|---|---|
| TAC (Type Allocation Code) | 1–8 | Identifies the device model; allocated by the GSMA |
| Serial number | 9–14 | Unique number given by the manufacturer |
| Check digit | 15 | Calculated with the Luhn algorithm to catch typing errors |
How the Luhn check digit works
- Take the first 14 digits.
- Starting from the right, double every second digit (the 14th, 12th, 10th… from the left are doubled).
- If doubling gives a two-digit number, add its digits (for example 16 → 1 + 6 = 7).
- Add all the digits together.
- The check digit is the number you must add to reach the next multiple of 10.
The same algorithm is used for credit card numbers. A valid check digit only means the number is correctly formed; it does not prove that a real phone has that IMEI.
Who uses test IMEIs?
- Developers testing apps or back-end systems that store device identifiers.
- QA testers checking that a form accepts valid IMEIs and rejects invalid ones.
- Teachers showing how check digits detect mistakes.
The first eight digits (TAC) are random, so generated numbers are not tied to a real phone model. By chance, a TAC can match a real one, so never use generated IMEIs for anything other than testing.
Frequently asked questions
Can I use a generated IMEI to unblock or unlock a phone?
No. Generated numbers are not linked to any device, and changing a phone's IMEI is illegal in many countries.
How do I check if a phone is stolen?
Ask the seller for the IMEI and check it with your mobile carrier or an official national blacklist service. In the US, the CTIA's stolen phone checker is one option.
Why does my phone have two IMEIs?
Dual-SIM phones have one IMEI for each SIM slot.