---
id: "esn"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["telecom", "pii"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/esn"
---

# Electronic Serial Number (ESN) of a mobile device (`esn`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

32-bit identifier of AMPS and CDMA mobile devices, replaced by the MEID (meid). It is written as 8 hexadecimal digits or as an 11-digit decimal number, in which the first three digits encode the first eight bits (000 to 255) and the other eight digits the remaining 24 bits. The prefix 80 in hexadecimal (128 in decimal) marks a pseudo-ESN derived from an MEID, which is not guaranteed to be unique.

- Personal data (PII): yes
- Categories: Telecommunications (telecom), Personally identifiable information (pii)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[0-9A-Fa-f]{8}|(?:[01]\d{2}|2[0-4]\d|25[0-5])\d{8})$
```

## Examples

- `9F6E45A1` — Synthetic ESN in hexadecimal form
- `15907226785` — The same ESN in decimal form
- `80A3F21C` — Synthetic pseudo-ESN (prefix 80)
- `12810744348` — The same pseudo-ESN in decimal form
- `9F6E45A` (invalid example) — Seven hexadecimal digits, one too few
- `25607226785` (invalid example) — The first three decimal digits cannot exceed 255

## Translations

- ru: Электронный серийный номер (ESN) мобильного устройства: 32-битный идентификатор мобильных устройств стандартов AMPS и CDMA, заменённый MEID. Записывается 8 шестнадцатеричными цифрами или 11-значным десятичным числом. Префикс 80 (128 в десятичной записи) обозначает псевдо-ESN, вычисленный из MEID.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Electronic_serial_number>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/esn.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/telecom/esn.yaml>
