Modbus Register Converter

Decode registers as int, float and ASCII in every byte order, convert addresses and build RTU frames with CRC

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

Enter the registers exactly as a Modbus read returned them. The table decodes the same words as every integer and float size in all four byte/word orders, because devices disagree: many PLCs send 32-bit values with the two words swapped (CDAB). If you know the range the real value must be in, the interpretations that fall inside are marked, which usually leaves a single candidate.

Formula

ABCD = A B C D · CDAB = C D A B · BADC = B A D C · DCBA = D C B A (A = most significant byte)

Common questions

Why is register 40001 address 0 on the wire?

The leading 4 only names the holding-register table and the numbering starts at 1, so the protocol address is the number minus 40001. The address converter does it for the 5-digit (40001) and 6-digit (400001) forms.

Related tools