Free RFID UID & Wiegand Format Converter

Convert 4-byte and 7-byte ISO 14443A / NFC UIDs, 40-bit EM4100/EM4200 IDs and 26-bit Wiegand (H10301) credentials between normal and byte-reversed hex, 10D/18D/8D card print codes, 3D+5D facility/card numbers and parity-checked Wiegand frames. Uses exact BigInt arithmetic in your browser with no uploads or storage.

Updated

Credential / UID type

Pick how your reader or card label presents the number so byte order is interpreted accurately.

8 hex characters (4 bytes, e.g. 04 A1 B2 C3) or a 10-digit decimal number.

Converted formats

Enter an 8-character hex UID or 10-digit decimal number, or load the example.

Representation Value Copy
Enter an identifier to see every representation.
Wiegand parity & bit frame

–

FieldBitsMeaning
No Wiegand frame yet.

Ordering numbered RFID cards, fobs or encoded IDs?

Proud Tek manufactures 125 kHz (EM4200, T5577, EM4305) and 13.56 MHz (MIFARE Classic, Plus, DESFire EV2, NTAG) cards and key fobs in Shenzhen, with laser/DOD numbering and Excel, CSV or XML UID-to-serial lists. Copy a non-secret format brief below to avoid byte-order mismatches.

Standard blank samples are free; custom-printed, numbered or encoded samples carry a setup fee, confirmed in the quotation.

Why two readers show different numbers for the same card

An ISO/IEC 14443 Type A chip transmits its UID byte 0 first during anti-collision, and a PC/SC desktop reader answering FF CA 00 00 00 (PC/SC Part 3 §3.2.2.1.3) returns the bytes in that exact order (MSB→LSB). By contrast, many keyboard-wedge USB readers and Wiegand door readers treat those four bytes as a 32-bit little-endian integer (reversing bytes 3..0 before converting to 10-digit decimal, widely called 8H→10D or IK2).

Here is how the single 4-byte UID 04 A1 B2 C3 appears across common reader and card-printing conventions:

ConventionOutput for 04 A1 B2 C3
Hex — normal (MSB→LSB, PC/SC FF CA 00 00 00) 04 A1 B2 C3 (04A1B2C3)
Hex — reversed bytes (LSB→MSB, 8H) C3 B2 A1 04 (C3B2A104)
10-digit decimal — reversed bytes (8H→10D / IK2) 3283263748
10-digit decimal — normal bytes (MSB→LSB 10D) 0077705923
Card print 3D+5D & 8D (from 8H→10D lower 24 bits) 178,41220 · 8D: 11706628
Card print 3D+5D & 8D (from MSB bytes 1..3) 161,45763 · 8D: 10597059
Wiegand 34-bit (MSB→LSB 32-bit payload) 0x009436587 (0000001001010000110110010110000111)

Read-only 125 kHz EM4100 and EM4200 cards carry 40 data bits inside a 64-bit Manchester frame: an 8-bit version or customer header byte followed by 32 data bits (D0 D1 D2 D3). Clamshell and PVC proximity cards normally print the lower 32 bits as a 10-digit decimal (8H→10D) alongside the lower 24 bits split into a 3-digit facility code (D1, 0–255) and a 5-digit card number (D2..D3, 0–65,535) for 26-bit Wiegand controllers:

EM4100 / EM4200 formatOutput for 01 00 BC 61 4E
Full 40-bit ID (10H: 1B version + 4B data) 01 00 BC 61 4E (0100BC614E)
Standard 10-digit card print (8H→10D) 0012345678 (8H: 00BC614E)
Wiegand 26 print (2H+4H → 3D,5D) 188,24910
24-bit decimal print (6H→8D) 12345678
Reversed 32-bit data (LSB→MSB 10D) 1315027968

Programmable 125 kHz chips such as T5577 and EM4305 can be encoded at the factory to output a specific 26-bit H10301 or 40-bit EM sequence; share your facility code, starting serial and reader model when requesting encoded samples.

How 26-bit and 34-bit Wiegand parity bits work

In the open 26-bit Wiegand format (SIA AC-01 / H10301), 24 payload bits (8-bit facility code + 16-bit card number) sit between two parity bits:

  • Leading even parity (bit 25): set to 1 if the upper 12 data bits (all 8 facility-code bits plus the top 4 card-number bits) contain an odd number of 1s, making the 13-bit group even.
  • Trailing odd parity (bit 0): set to 1 if the lower 12 data bits (the bottom 12 card-number bits) contain an even number of 1s, making that 13-bit group odd.

Standard 34-bit Wiegand applies the same rule across a 32-bit card identifier: even parity over the upper 16 data bits, and odd parity over the lower 16 data bits.

Questions about RFID UIDs and Wiegand formats

Why do two readers report two different 10-digit numbers for the same RFID card?

A PC/SC reader answering Get Data (FF CA 00 00 00) returns the 4 UID bytes in ISO/IEC 14443-3 transmission order (byte 0 first: MSB→LSB). Many USB keyboard-wedge desktop readers and Wiegand access panels reverse those 4 bytes (byte 3 first: LSB→MSB, often called 8H→10D or IK2) before converting to a 10-digit decimal. Enter either value above to see both side by side, and always name the exact print/mapping format in your card order.

What do 8H10D, 6H8D and 3D+5D mean on printed 125 kHz and 13.56 MHz cards?

They describe which bytes of the chip ID are converted to decimal and laser-engraved or DOD-printed on the card shell. 8H→10D converts all 4 bytes (8 hex digits) to a zero-padded 10-digit number (0000000000–4294967295). 6H→8D converts the lower 3 bytes (24 bits) to an 8-digit decimal (00000000–16777215). 3D+5D splits those same 3 bytes into a 1-byte facility code (000–255) and a 2-byte card number (00000–65535) for 26-bit Wiegand panels.

Why do Excel formulas corrupt 7-byte (18-digit) NFC and DESFire UIDs?

A 7-byte UID is 56 bits wide (up to 72,057,594,037,927,935), whereas spreadsheet numbers and standard IEEE-754 doubles only keep 53 bits of exact integer precision (up to 9,007,199,254,740,991). Opening a CSV directly in a spreadsheet rounds the last digits of large 18-digit UIDs to zero. This converter uses exact BigInt arithmetic, and you should import UID mapping files as Text columns.

Does this converter upload card UIDs or facility codes?

No. Every conversion runs inside this page in your browser: no card UID, facility code or Wiegand frame is sent over the network, saved in browser storage or placed in an inquiry URL. Copy buttons write to your clipboard only when you press them. Site-wide analytics and cookie rules are explained in the privacy policy.

Can Proud Tek print matching card numbers and supply a UID mapping file?

Yes. In our Shenzhen factory we print or laser-engrave card numbers in your specified byte order and, on encoded or numbered orders, supply an Excel, CSV or XML file pairing each chip UID with its printed serial (RFID encoding service). Send one working card or reader output so we confirm the exact format on a sample before production.

Sources

Related pages

WhatsApp