Skip to main content

LEI Generator (Legal Entity Identifier - ISO 17442)

Generate and format valid 20-character alphanumeric Legal Entity Identifier (LEI) codes according to ISO 17442 and GLEIF standards.

Waiting for generation...

About the Legal Entity Identifier (LEI)

The Legal Entity Identifier (LEI) is a 20-character alphanumeric reference code standardized by ISO 17442 and maintained by the Global Legal Entity Identifier Foundation (GLEIF).

Established by the Financial Stability Board (FSB) and G20, the LEI connects global financial markets by uniquely identifying legal entities participating in financial transactions and regulatory filings (MiFID II, EMIR, Dodd-Frank).

Anatomy & Structure of the LEI (ISO 17442)

The LEI code consists of exactly 20 alphanumeric characters structured into 4 components:

PositionFieldLengthMeaning & SpecificationExample
1 to 4LOU Prefix4 charactersIdentifies the GLEIF-accredited Local Operating Unit that issued the identifier5493
5 and 6Reserved2 digitsReserved characters per ISO 17442 standard (default '00')00
7 to 18Entity Identifier12 charactersUnique alphanumeric code assigned to the legal entity84UKLVMY22DS
19 and 20Check Digits2 digitsTwo numeric checksum digits computed via ISO 7064 Modulo 97-1016

Integrity Algorithm (ISO 7064 MOD 97-10)

Official calculation performed on the 20-character alphanumeric sequence:

NumStr(LEI) mod 97 ≡ 1 | DV = 98 - (NumStr(Base + '00') mod 97)
  1. 1. Convert letters to numbers (A=10, B=11, ..., Z=35) while preserving digits.
  2. 2. To generate, append '00' to the 18-character base numeric sequence.
  3. 3. Compute the integer remainder modulo 97 of the resulting number.
  4. 4. The two check digits equal (98 - remainder), formatted as two digits.
  5. 5. To validate, the complete 20-character converted number must satisfy remainder % 97 == 1.

Frequently Asked Questions & Technical Specifications