RFID Wristband UID Formats: Hex, Decimal, and Byte Order

An RFID wristband scans at registration, but the gate reports an unknown credential. Before replacing the band, compare what each device sends to the system. One reader may output hexadecimal characters while another outputs decimal digits, reverses the byte order, or sends only part of the identifier.

For a UID-based integration, agree on the identifier source, complete length, byte order, and text format before importing wristbands. Then verify that registration and gate readers resolve the same physical band to the same approved record.

This guide explains RFID wristband UID formats for event teams and system integrators working with HF contactless credentials. It is not a universal conversion rule for LF credentials, UHF EPC data, or every access-control format.

First, Confirm Which Identifier Your System Uses

“Wristband number” is too vague for a purchase specification. The value could mean a chip identifier, data written into application memory, a printed serial number, or a reference assigned by your event platform. Those values may be linked without being identical.

Ask the system provider to name the exact field the reader retrieves. If the platform uses application data rather than the UID, converting a UID will not repair the mapping.

NXP explains that a UID is a byte array without a prescribed integer conversion. Its documentation also discusses different UID lengths, random identifiers, and non-unique identifiers. Do not assume every contactless product exposes one permanent, globally unique number. Check the selected chip and operating configuration. See NXP’s UID handling application note.

The examples below use invented four-byte data to explain formatting. They are arithmetic illustrations, not measurements from a supplied wristband.

How Hexadecimal and Decimal Outputs Differ

Hexadecimal uses digits 0–9 and letters A–F. Each byte can be shown as two hex characters. Decimal uses digits 0–9, but a multibyte identifier needs an agreed interpretation before it becomes one decimal number.

Take the hypothetical byte sequence 01 23 45 67. Under the specific conventions listed here, it produces:

Representation Example output Rule applied
Hexadecimal text 01234567 Two hex characters per byte, listed order
Decimal integer 19088743 Entire sequence interpreted unsigned, most significant byte first
Padded decimal text 0019088743 Same decimal value, padded to ten characters
Reversed-byte hex 67452301 Byte pairs listed in reverse order

These strings differ, but the first three describe the same value under the stated interpretation. The fourth displays the same bytes in a different order. If interpreted as an unsigned, most-significant-byte-first integer, that reversed sequence becomes 1732584193.

There is no reason to choose a format because it looks more familiar. Choose the format the receiving system explicitly supports, and document the transformation.

Byte Order Is Not Character Order

Byte reversal moves complete pairs: 01 23 45 67 becomes 67 45 23 01. Reversing every character instead would produce 76543210, which is a different operation.

Reader menus may use labels such as MSB first, LSB first, normal, or reversed. Do not approve an integration using those labels alone. Attach an input-and-output example, because “normal” needs a reference point.

An official software example makes the issue concrete: SavaPage’s card-number documentation describes an internal lowercase hexadecimal, LSB-first representation. It requires incoming interfaces to specify hexadecimal or decimal and their byte order. That is one application’s convention, not a recommendation to configure every event system the same way.

Changing the reader’s presentation setting does not, by itself, rewrite the wristband’s chip identifier. It changes what the receiving application sees. Avoid changing settings on live gates until the integration owner has tested the proposed conversion.

Preserve Length and Leading Zeros

An identifier field should carry the full value required by the integration, not whatever fits a convenient spreadsheet column. A longer UID cannot be assumed compatible with an older system that accepts only a shorter number.

Truncation discards information. If the system deliberately derives a shorter reference, the provider must define that method and check for duplicate mappings. Do not silently keep the first or last few digits to make an import succeed.

Leading zeros also need a rule. In the table, 0019088743 and 19088743 have the same numeric value but are different text strings. An exact text lookup may distinguish them.

Recommended practice is to treat credential representations as text during file exchange. Define the required width, case, separators, and prefixes, then reopen the exported file in the actual importing software. Keep the original capture separately so troubleshooting does not depend on a converted spreadsheet.

Use the RFID wristband encoding file checklist for the broader row structure and production-data handover. The formatting agreement here should accompany that file, rather than replace it.

Write a Short Reader-to-System Format Agreement

Before ordering, have the supplier and system provider sign off on a compact integration note. It should answer:

  • Source: chip UID, application-memory field, or another named identifier?
  • Length: which complete byte lengths are supported, and what happens to an unexpected length?
  • Representation: hex text or decimal, and how are bytes interpreted?
  • Order and padding: which byte comes first, and are leading zeros required?
  • Transport: does the reader add spaces, a prefix, a suffix, or an Enter character?
  • Conversion owner: reader firmware, middleware, or backend—which layer normalizes the input?

Include at least one approved input/output pair for every supported length. Record the reader model, firmware, configuration export, and application version beside those examples.

Assigning one conversion owner avoids accidental double reversal. The registration workstation and gate can legitimately receive different raw strings, provided documented conversion produces the same canonical record. An unexplained mismatch is not acceptable just because both devices beep.

Diagnose a Rejected Wristband Without Guessing

Consider a hypothetical deployment where the registration reader outputs hex and a replacement gate reader outputs decimal. The platform stores registration strings unchanged. Both devices detect the band, but the gate sends a string that does not match the stored key.

Work through the evidence in this order:

  1. Capture the failing reader’s exact output in an approved test environment. Include length, separators, and any terminator; a beep alone proves little.
  2. Scan the same test band with the registration device. Compare the complete outputs, not a handwritten transcription.
  3. Confirm both readers retrieve the same identifier source. A UID and an application reference are not interchangeable.
  4. Apply only the documented conversion. Check the result against the imported credential field and duplicate records.
  5. If the identifier matches, investigate assignment, activation, access rules, and synchronization instead of continuing to change number formats.

The wristband activation workflow covers those later record states. Keep detection, identifier matching, and permission decisions separate in the support log. That distinction helps the right team investigate the fault.

Test the Integration Before Bulk Production

Use representative samples with every deployed reader configuration. Include the supported identifier lengths, values containing leading zeros where available, and a band that should be rejected. If different chip types are planned, test each approved type rather than extrapolating from one convenient sample.

Follow each sample through capture, import, assignment, gate entry, rejection, and replacement. Repeat after a reader restart or configuration reload. Confirm that logs and exported reports preserve the expected representation, too.

Acceptance should be specific: every approved sample resolves to its intended record, unauthorized samples remain rejected, and unsupported input is flagged rather than silently shortened. Save the sample mapping and configuration with the approval record.

The sample-testing guide for bulk wristband orders can help organize the wider validation. Format matching is one test, not proof of overall system security or readiness.

FAQ

Is hexadecimal better than decimal for RFID wristbands?

Neither is universally better. Hex makes byte boundaries easy to inspect; decimal may match an existing application. Complete, documented, consistently interpreted data matters more than appearance.

Can I convert the printed number into the UID?

Only if the supplier confirms a defined relationship. A printed number might be an independent production serial or application reference, not a decimal version of the UID.

Why does the same band show different numbers?

Check representation, byte order, padding, and identifier source. Also investigate whether the selected credential configuration uses a changing identifier. Do not assume the chip changed or failed.

Should I reverse every imported identifier?

No. Reverse bytes only when the approved interface specification requires it. Bulk conversion without an agreed reference can corrupt otherwise correct mappings.

Does matching the UID make an access system secure?

No. Identifier matching and secure authentication are different requirements. Ask the system provider to specify the authentication design; this formatting guide does not establish its security.

Agree on the Format Before Approving the Wristband

A useful order brief includes the chip requirement, supported identifier lengths, actual reader models, and a verified format example. Send those details when discussing RFID wristband options with Asiawristband. Request samples and confirm the complete reader-to-platform path before approving production—not after the first rejected scan.

Get A Quote Now!