Antpact Toolbox
中文
Home › Modbus Tools › Modbus ASCII Parser

Modbus ASCII Parser

Decode ASCII frames with LRC check, or build standard ASCII commands.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Paste an ASCII frame (the leading colon and trailing CRLF are optional).
  2. Read the decoded address, function code, data field and LRC result.
  3. The equivalent RTU frame is shown below for comparison.
  4. 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.