How to use
- Paste an ASCII frame (the leading colon and trailing CRLF are optional).
- Read the decoded address, function code, data field and LRC result.
- The equivalent RTU frame is shown below for comparison.
- Switch to Build to generate a standard ASCII command.
FAQ
How do LRC and CRC differ?
RTU uses a 16-bit CRC16 while ASCII uses an 8-bit LRC (two complement of the byte sum). They are not interchangeable.
Must I type the colon and CRLF?
No. Both are optional when decoding; the tool picks out the hex content in between.
Can ASCII and RTU be converted?
The data maps one-to-one, and the decoder shows the equivalent RTU frame so you can compare them.
About this Modbus ASCII Parser
ASCII is the third Modbus transmission mode: each byte is written as two hex characters, frames start with a colon and end with CR LF, and the checksum is an LRC (two complement of the byte sum). It is slower than RTU but human-readable, so you can debug it straight from a terminal. This tool decodes captured frames with LRC verification and can also build standard commands for function codes 01–06. Everything is local; no device is contacted.