Examples of every access control bit format

February 4, 2025
Auston Bunsen
Auston Bunsen

Overview

In smart card and access control systems, bit formats define how data is structured, transmitted, and interpreted. Whether you’re working with Wiegand, MIFARE, HID, or other proprietary formats, understanding these encoding methods is crucial for ensuring compatibility and seamless integration with readers and controllers.

This guide explores 60 different bit formats, breaking down their structure, usage, and decoding methods. For each format, we will provide:

  • Example encoded data to illustrate how information is stored.
  • A decoding table that translated raw bitstreams into meaningful values.

By the end of this guide, you’ll have a clear understanding of various bit formats used in smart cards and access control, enabling you to analyze, troubleshoot, and work with different card technologies effectively. Let’s dive in and decode the details!

Casi F/2F 12 Digit Magstripe

Composed of 12-bit card number.

 Example bits: 000001000101

 
Card number
69
 

Midas

Composed of 6-bit site code, 4-bit card number.

 Example bits: 0101010100000

 
Site code Card number
42
69
 

Tecom swipe

Composed of 6-bit site code, 6-bit card number.

 Example bits: 010101010001000

 
Site code Card number
42
69
 

Standard 26bit - (H10301)

Composed of 8-bit facility code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 10010101000000000010001010

 
Facility code Card number Even parity Odd parity
42
69
valid
valid
 

Indala 26bit

Composed of 12-bit site code, 12-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 10000001010100000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Indala 27bit

Composed of 13-bit site code, 14-bit card number.

 Example bits: 000000010101000000001000101

 
Site code Card number
42
69
 

Indala ASC 27bit

Composed of -bit site code, 14-bit card number.

 Example bits: 000000010001100100001010000

 
Site code Card number
42
69
 

Tecom

Composed of -bit site code, 16-bit card number.

 Example bits: 001010000110000001001000000

 
Site code Card number
42
69
 

2804 Wiegand

Composed of 8-bit facility code, 15-bit card number, 1 even parity bit, 2 odd parity bits.

 Example bits: 1010000101010000000010001011

 
Facility code Card number Even parity Odd parity Odd parity
42
69
valid
valid
valid
 

Indala 29bit

Composed of 13-bit site code, 16-bit card number.

 Example bits: 00000001010100000000001000101

 
Site code Card number
42
69
 

ATS Wiegand 30bit

Composed of 12-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 100000010101000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID ADT 31bit

Composed of 4-bit site code, 23-bit card number.

 Example bits: 0101000000000000000001000101000

 
Site code Card number
42
69
 

ATS Wiegand 32bit

Composed of 13-bit site code, 17-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 10000000010101000000000001000101

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Indala/Kantech KSF

Composed of 8-bit site code, 16-bit card number.

 Example bits: 00000000010101000000000010001010

 
Site code Card number
42
69
 

K32

Composed of 8-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 10000000010101000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Wiegand 32bit

Composed of 12-bit site code, 16-bit card number.

 Example bits: 00000000001010100000000001000101

 
Site code Card number
42
69
 

HID 32bit Hewlett-Packard

Composed of 12-bit site code, 19-bit card number.

 Example bits: 00000001010100000000000001000101

 
Site code Card number
42
69
 

HID Check Point 32bit

Composed of 24-bit card number.

 Example bits: 00000000000000000010001010000000

 
Card number
69
 

4byte CSN 32bit

Composed of 32-bit card number.

 Example bits: 00000000000000000000000001000101

 
Card number
69
 

32-B

Composed of 18-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 100000000000010101000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Indala 33bit (DSX)

Composed of 7-bit site code, 24-bit card number.

 Example bits: 001010100000000000000000010001010

 
Site code Card number
42
69
 

HID 33bit - (D10202)

Composed of 7-bit site code, 24-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 101010100000000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

RS2-HID F/C 3 33bit - (R901592C)

Composed of 2-bit site code, 27-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 011000000000000000000000100010101

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID Standard 34bit - (H10306)

Composed of 16-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 1000000000010101000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Indala 34bit Optus

Composed of 11-bit site code, 16-bit card number.

 Example bits: 0000000000100010100000000001010100

 
Site code Card number
42
69
 

Cardkey Smartpass

Composed of 14-bit site code, 16-bit card number.

 Example bits: 00000000010101000000000000001000101

 
Site code Card number
42
69
 

HID 34bit - (N1002)

Composed of 8-bit site code, 16-bit card number.

 Example bits: 0000000000010101000000000010001010

 
Site code Card number
42
69
 

BQT 34bit

Composed of 8-bit site code, 24-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 1001010100000000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID 35bit Corporate 1000

Composed of 12-bit site code, 20-bit card number, 1 even parity bit, 2 odd parity bits.

 Example bits: 01000000101010000000000000010001010

 
Site code Card number Even parity Odd parity Odd parity
42
69
valid
valid
valid
 

HID 36bit Siemens

Composed of 18-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 000000000000010101000000000010001011

 
Site code Card number Odd parity Even parity
42
69
valid
valid
 

Chubb 36bit

Composed of 14-bit site code, 16-bit card number.

 Example bits: 000000000101010000000000000010001010

 
Site code Card number
42
69
 

HID 36bit Inner Range

Composed of 12-bit site code, 16-bit card number.

 Example bits: 000000000010001010000000000101010000

 
Site code Card number
42
69
 

HID Simplex 36bit

Composed of 8-bit site code, 24-bit card number, 2 odd parity bits.

 Example bits: 000101010000000000000000000010001010

 
Site code Card number Odd parity Odd parity
42
69
valid
valid
 

HID Clock & Data - (H10320)

Composed of 32-bit card number, 2 even parity bits, 1 odd parity bit.

 Example bits: 000000000000000000000000010001010101

 
Card number Even parity Odd parity Even parity
69
valid
valid
valid
 

36bit test

Composed of 18-bit site code, 16-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 100000000000010101000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID Farpointe 37bit with Site Code - (H10304)

Composed of 16-bit site code, 19-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 1000000000010101000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID 37 Bit (H10302)

Composed of 35-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 0000000000000000000000000000010001010

 
Card number Even parity Odd parity
69
valid
valid
 

HID generic 37bit

Composed of 32-bit card number, 2 even parity bits, 1 odd parity bit.

 Example bits: 0011000000000000000000000000010001010

 
Card number Even parity Even parity Odd parity
69
valid
valid
valid
 

AWID RS2 34bit

Composed of 8-bit site code, 24-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 1001010100000000000000000010001010000

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

PointGaurd MDI 37bit

Composed of 4-bit site code, 29-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 0001010000000000000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

BQT 38bit

Composed of 13-bit site code, 1 even parity bit, 1 odd parity bit.

 Example bits: 10000000101010000000000000000000000001

 
Site code Even parity Odd parity
42
valid
valid
 

ISCS 38bit

Composed of 10-bit site code, 22-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 10000000010101000000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Pyramid Wiegand Format

Composed of 17-bit site code, 20-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 100000000000101010000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID 40bit Honeywell - (P10001)

Composed of 12-bit site code, 16-bit card number.

 Example bits: 0000000000101010000000000100010100000000

 
Site code Card number
42
69
 

Casi-Rusco 40bit

Composed of 38-bit card number.

 Example bits: 0000000000000000000000000000000010001010

 
Card number
69
 

XceedID RS2 40bit

Composed of 10-bit site code, 28-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 1000010101000000000000000000000010001011

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Lenel

Composed of 14-bit site code, 12-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 000000001010100000010001010000000000000001

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HID 37bit FAC Code & CN - (H10304)

Composed of 16-bit site code, 19-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 000000000001000000000010101000000000000010001010

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

HUGHES ID 37bit - (H10302)

Composed of 35-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 000000000000000000000000000000000000000010001010

 
Card number Even parity Odd parity
69
valid
valid
 

HID 48bit Corporate 1000 - (H2004064)

Composed of 23-bit card number, 1 even parity bit, 2 odd parity bits.

 Example bits: 000000000000000000000000000000000000000010001011

 
Card number Even parity Odd parity Odd parity
69
valid
valid
valid
 

Inner Range SIFER 56bit - (I941747A)

Composed of 24-bit site code, 32-bit card number.

 Example bits: 00000000000000000010101000000000000000000000000001000101

 
Site code Card number
42
69
 

7byte CSN 56bit

Composed of 56-bit card number.

 Example bits: 00000000000000000000000000000000000000000000000001000101

 
Card number
69
 

iCLASS truncated CSN 56bit

Composed of 56-bit card number.

 Example bits: 00000000000000000000000000000000000000000000000001000101

 
Card number
69
 

TWIC / CAC Wiegand 58 bit format

Composed of 14-bit agencyCode, 14-bit systemCode, 20-bit credentialCode, 4-bit credentialSeries, 4-bit individualSeriesIssue, 1 even parity bit, 1 odd parity bit.

 Example bits: 0000000000000000000000000000000000000000000000000000000001

 
Even parity Odd parity
valid
valid
 

TWIC / CAC Wiegand 56-bit format(without parity) with Transaction Status Messages (total of 64 bits)

Composed of 14-bit agencyCode, 14-bit systemCode, 20-bit credentialCode, 4-bit credentialSeries, 4-bit individualSeriesIssue, 7-bit transactionStatusMessages.

 Example bits: 0000000000000000000000000000000000000000000000000000000000000000

 

| | || | |

 

8byte iCLASS CSN 64bit

Composed of 64-bit card number.

 Example bits: 0000000000000000000000000000000000000000000000000000000001000101

 
Card number
69
 

75bit PIV

Composed of 14-bit site code, 14-bit agencyCode, 25-bit expirationDate, 20-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 000000000100011000000001010100000000000000100010110011010100000010010111110

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

pivClass 75bit

Composed of 14-bit site code, 14-bit agencyCode, 25-bit expirationDate, 20-bit card number, 1 even parity bit, 1 odd parity bit.

 Example bits: 100000000000000000000001010100000000000000100010100000000000000000000000000

 
Site code Card number Even parity Odd parity
42
69
valid
valid
 

Conclusion

This was a very long guide - but hopefully you've got a handy look up table for all of your bit / card formats. If you have any feedback, as usual, don't hesitate to email [email protected]

Keyscan C15001 36bit

Composed of 10-bit OEM code, 8-bit facility code, 16-bit card number, and 2 parity bits (even and odd).

 Example bits: 000000000010010101010100100010101010

 
OEM Site code Card number Even parity Odd parity
1
42
42069
valid
valid