Lenel - Bit Format Details - AccessGrid

Lenel

Everything you need to understand Lenel

Card format Overview

A proprietary 42-bit card format used in access control systems, featuring a unique structure composed of 14-bit site code and 12-bit card number, and 2 parity bits (even and odd), allowing for easy management and avoiding card number duplication for secure, contactless access.

Lenel format properties

Site Code

14 bits. The facility code range is 0 to 16,383.

Card Number

12 bits. A unique serial number (0-4,095) for each card within that facility code.

Even parity

Even Parity for Even parity over bits 1-20.

Odd parity

Odd Parity for Odd parity over bits 21-40.

Generate examples

Put in the values for this card format, we'll generate the results in a few different formats.

Here's your example

Format Value
Hex 20640640000
Copy
Decimal 2225873354752
Copy
Binary 100000011001000000011001000000000000000000
Copy

The API that turns phones into key fobs.