Home/Tools/Modbus TCP Parser

Modbus TCP Parser

Paste a Modbus TCP frame in hex and decode each field — MBAP header, function code, and data payload.

Example Frames

Modbus TCP Frame Reference

BytesFieldDescription
0–1Transaction IDMatches request to response
2–3Protocol IDAlways 0x0000 for Modbus
4–5LengthByte count of Unit ID + PDU
6Unit IDDevice address (0–247)
7Function CodeOperation to perform
8+DataRequest/response payload