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
| Bytes | Field | Description |
|---|---|---|
| 0–1 | Transaction ID | Matches request to response |
| 2–3 | Protocol ID | Always 0x0000 for Modbus |
| 4–5 | Length | Byte count of Unit ID + PDU |
| 6 | Unit ID | Device address (0–247) |
| 7 | Function Code | Operation to perform |
| 8+ | Data | Request/response payload |