Decode Modbus registers in every byte order
Paste hex or decimal registers: every data type and byte order is decoded side by side.
- Runs on your device
- No sign-up
- Works offline after a visit
Hex (0x4120, 4120h) or signed and unsigned decimal. Up to 64 registers.
Encode a value
Click a bit to change it. Below 16 bits the register is edited in place; the decoded table keeps its original list.
| Type | ABCD | BADC | CDAB | DCBA |
|---|
Address helper
ABCD = big-endian, bytes as received BADC = bytes swapped inside each register CDAB = registers (words) swapped DCBA = both swapped · fully little-endian
How to decode Modbus registers
- Paste the register values as your tool prints them: hex such as 0x4120 or plain decimal, separated by spaces, commas or newlines.
- Compare the four byte and word orders in the table to find the one that gives a sensible number.
- Use the reverse box to turn a value back into registers in the chosen order, and the bit view to inspect a single register.
Questions
What do ABCD, DCBA, BADC and CDAB mean?
Each letter is one byte, and a 16-bit register holds two: A and B are the first register, C and D the second. ABCD keeps the order received, most significant byte first (big-endian). BADC swaps the two bytes inside each register. CDAB swaps the two registers but keeps the bytes inside them (word swap), the most common mix-up with 32-bit floats. DCBA reverses all four bytes (fully little-endian). The INT16 and UINT16 rows read the first two bytes after reordering, so under CDAB and DCBA they show the second register.
How are numbers decoded?
Integers are read with the byte order chosen, signed values use two’s complement, and FLOAT32 and FLOAT64 use IEEE 754. The register list is taken as received: the first token is the register at the lowest address returned by the device. Values shown by this tool are computed locally; nothing is read from a device or sent anywhere.
How does the address helper work?
Modbus application data uses zero-based addresses, while documentation often writes 4xxxx for holding registers, 3xxxx for input registers, 1xxxx for discrete inputs and 0xxxx for coils. The helper converts between those references and the offset used in a request, so 40001 is offset 0 and 40100 is offset 99 for function code 03.
What about ASCII and bit views?
ASCII mode joins the bytes of all pasted registers in the chosen order and shows printable characters with dots for control bytes. The bit view shows one register as sixteen bits numbered b15 down to b0; clicking a bit edits that register and decodes all types again.
Reviews
No reviews yet. Be the first.


