Canadian · Validation

MEID converter and check digit.

Convert a CDMA Mobile Equipment Identifier (MEID) between its 14-digit hex and 18-digit decimal forms, and check its optional Luhn check digit. Runs entirely in your browser: nothing you type is transmitted anywhere.

Sources: 3GPP2 S.R0048 as documented by python-stdnum and Wikipedia Format and checksum only — cannot confirm the MEID was issued

Advertisement

Inputs

14 hex digits or 18 decimal digits, with or without a trailing check digit. Spaces and dashes are ignored. Dial *#06# or see Settings → About to find it.

Result

Enter an MEID and press Convert and check.

Advertisement

How the MEID formats and check digit work

An MEID is 56 bits: an 8-bit regional code, a 24-bit manufacturer code and a 24-bit serial, written as 14 hexadecimal digits (8 manufacturer including the regional code, then 6 serial). The decimal form is 18 digits: the 32-bit manufacturer part as 10 decimal digits plus the 24-bit serial as 8 decimal digits. Hex digits are always read as base 16 to build it, even when they all happen to be 0-9.

Both forms may carry an optional check digit that is never transmitted or stored. On the decimal form it is the ordinary base-10 Luhn digit. On the hex form it is base-10 Luhn if all 14 digits are 0-9, and Luhn in base 16 if any digit is A-F. Worked example: AF0123450ABCDE has hex check digit C and decimal form 29360 87365 0070 3710 with decimal check digit 0.

The pseudo-ESN (pESN) shown in the result is 80 followed by the last 6 hex digits of the SHA-1 hash of the 7 MEID bytes. It is used for compatibility with older ESN-only network messages.

There is no MEID to IMEI conversion

An MEID and an IMEI are separate identifiers from separate administrators, and no formula turns one into the other. A dual-mode handset may be issued an IMEI whose first 14 decimal digits are also used as its hex MEID, but that is how the handset was allocated its numbers, not a conversion you can compute for an arbitrary MEID.

Sources

What this tool does and doesn’t check

This tool checks format and checksum only. A matching check digit shows the digits are internally consistent. It cannot confirm the MEID was ever issued, that a device exists, or that it belongs to anyone, and it is not a blacklist or stolen-device lookup. Everything runs in your browser: nothing you type is transmitted, stored or logged.

What an MEID is and why it exists

A Mobile Equipment Identifier is the globally unique number of a CDMA2000 device. It is 56 bits long, usually written as 14 hexadecimal digits: an 8-bit regional code, a 24-bit manufacturer code and a 24-bit manufacturer-assigned serial number. It was introduced to replace the 32-bit electronic serial number (ESN), whose pool of unassigned numbers was exhausted in November 2008. Many older network messages still need an ESN-shaped value, so a device with an MEID can present a pseudo-ESN (pESN): the fixed prefix 80 followed by the last 24 bits, six hex digits, of the SHA-1 hash of the MEID. Wikipedia notes that two different MEIDs can collide on a pESN, though rarely, which is one reason later specifications allow the MEID itself to be sent.

People searching for an “MEID lookup” usually want one of three things: the same number in the other format, the check digit, or a stolen-phone status. This page does the first two. Status checks need a carrier or a lookup service, because a number that is arithmetically valid can still be blocked or unissued.

Hex form, decimal form and the check digit

  • Hexadecimal: 14 digits, 0–9 and A–F. This is the form the hardware reports.
  • Decimal: 18 digits, shown in a 5-5-4-4 pattern. The 32-bit manufacturer part becomes 10 decimal digits and the 24-bit serial becomes 8 decimal digits. Hex digits are always read as base 16 to build it, even when every digit happens to be 0–9.
  • Check digit: optional, never transmitted or stored. On the decimal form it is the ordinary base-10 Luhn digit; on the hex form it is Luhn in base 16 when any digit is A–F.

Worked conversion

Take the hex MEID AF0123450ABCDE. Split it into the 8-digit manufacturer part AF012345 and the 6-digit serial 0ABCDE. In decimal, AF012345 is 2,936,087,365 and 0ABCDE is 703,710, so the decimal MEID is the 10-digit group 2936087365 followed by the 8-digit group 00703710, written 29360 87365 0070 3710. Going the other way, split the 18 digits into the first 10 and last 8, convert each to hex and pad to 8 and 6 digits respectively. The decimal form of this example carries the Luhn check digit 0, and the hex form carries C, as the converter shows.

MEID versus IMEI

An MEID and an IMEI come from different administrators. According to Wikipedia, the TIA acts as the global hexadecimal administrator for MEID prefixes while the GSM Association handles decimal IMEI allocation, and dual-technology phones may use IMEIs in a reserved range. There is no formula that converts an arbitrary MEID into an IMEI. A dual-mode handset may simply have been issued numbers where the first 14 decimal digits of the IMEI are also used as its hex MEID. If your phone shows 14 characters including letters A to F, it is an MEID; if it shows 15 decimal digits, use the IMEI validator.

Common mistakes

  • Entering 15 digits. That is an IMEI, not an MEID.
  • Using the wrong base for the check digit. The base-16 check applies only to hex values that contain A to F; an all-numeric hex MEID uses base-10 Luhn.
  • Believing the check digit is part of the MEID. It is a convenience for people typing the number and is not stored on the device.
  • Treating a valid number as a live device. This tool cannot say whether a handset exists, is active or is blacklisted. See the generic Luhn validator if you only need the base-10 checksum.

Frequently asked questions

What is the difference between an MEID and an IMEI?

An MEID identifies a CDMA2000 device and is 14 hexadecimal digits; an IMEI identifies a GSM-family device and is 15 decimal digits. They have different administrators and there is no formula that converts one into the other.

How do I convert an MEID from hex to decimal?

Split the 14 hex digits into the first 8 and last 6, convert each part to decimal, and write them as 10 and 8 digits with leading zeros. For AF0123450ABCDE that gives 2936087365 and 00703710.

What is a pESN?

A pseudo-ESN is an 8-hex-digit value formed from the prefix 80 plus the last six hex digits of the SHA-1 hash of the MEID. Devices use it where older messages need an ESN-style number.

Why was the MEID created?

It replaced the 32-bit ESN, whose unassigned numbers were exhausted in November 2008.

Is the MEID check digit stored on the phone?

No. Wikipedia notes the check digit is never transmitted or stored; it is only there to help people verify a number they have typed.

How do I find my MEID?

Dialling *#06# typically displays the MEID on devices that have one. It may also be listed in the About screen of the phone’s settings.

Does a valid check digit mean the phone is not stolen?

No. It only shows the digits are internally consistent. This tool is not a blacklist or stolen-device lookup.

Is my number sent anywhere?

No. The conversion and the check run in your browser, and nothing you type is transmitted, stored or logged.

Advertisement