Developer Tools

Modbus Packet Builder for RTU and TCP Frames

Build, parse, and CRC16-check Modbus RTU and TCP (MBAP) frames in your browser. Covers common function codes FC01–FC16 for coils and registers used in industrial IoT debugging.

ModbusIoTProtocol

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Build Modbus RTU/TCP request frames to debug PLCs and sensors
  • Parse raw hex captured from a serial link field by field
  • Batch-calculate CRC16-Modbus checksums
  • Use frame layouts as a teaching reference

How to use

  1. Build a request: choose RTU or TCP, pick a function code, fill parameters, then generate
  2. Parse a frame: paste hex bytes to inspect fields and verify CRC
  3. CRC check: enter payload bytes and append CRC16

Example input and output

RTU request

01 03 00 00 00 0A C5 CD

Parsed

Address=1, FC03 read holding registers, start=0, quantity=10, CRC OK

FAQ

Which function codes are supported?

FC01–FC04 (reads), FC05/FC06 (single writes), and FC15/FC16 (multiple writes), covering most common Modbus use cases.

What CRC byte order is used?

Modbus RTU uses CRC16 with polynomial 0xA001 and appends the low byte first (little-endian).

Can it parse exception responses?

Yes. It detects exception responses where the high bit of the function code is set and shows the exception code.

Tools

Related tools

Continue with another translated tool for a nearby task.

Number Base Converter

Number Base Converter for Binary, Octal, Decimal, and Hex

Available

Convert numbers between binary, octal, decimal, and hexadecimal locally in your browser. Useful for embedded debugging, bitwise checks, and address inspection.

Radix Converter Developer

Hash Generator

Hash Generator - SHA Digests and Compare

Available

Compute SHA-1, SHA-256, SHA-384, and SHA-512 digests for text or local files, with optional HMAC mode and hash comparison. Uses Web Crypto in the browser for checksum and signing checks.

Hash SHA Digest

Cookie Builder

Cookie Builder for Set-Cookie Strings

Available

Visually configure Cookie name, value, Path, Domain, HttpOnly, Secure, and SameSite attributes locally and generate a Set-Cookie fragment.

Cookie Developer