Skip to main content

🐍 ModbusSniffer – Free Modbus RTU Analyzer with GUI (Python / PyQt6)

A lightweight and user-friendly Modbus RTU sniffer tool with a graphical interface.
Easily analyze and debug communication between PLCs, HMIs, and other Modbus RTU devices via serial ports.

GitHub release License: MIT

Demo

🔧 Features

  • 🧰 Sniffs raw Modbus RTU frames from serial ports (RS-485, USB)
  • 🖥️ GUI interface built with PyQt6
  • 📋 Frame table: Real-time decoded Modbus traffic
  • 🌈 Color-coded logging of request–response frames
  • 🪟 Cross-platform: Windows & Linux
  • 🆓 MIT licensed, open-source

📦 Installation

Install directly from PyPI:

pip install modbus-sniffer

or download Binary files for Ubuntu and Windows from here.

You can also build and install app from sourcess. Click here for deatails about it.


▶️ Usage

🎛️ Run GUI:

modbus-sniffer-gui

🖥️ Run CLI:

To list all options:

modbus-sniffer -h

Example of runnig sniffer on ttyUSB0 with baud 115200 and no parity:

modbus-sniffer -p /dev/ttyUSB0 -b 115200 -r none

For more usage options, development guide, and installation from source, visit the GitHub repository:

👉 ModbusSniffer on GitHub


🤝 Contributing

Please see CONTRIBUTING.md for development setup and contribution guidelines.


📜 License

MIT License — see the LICENSE file for details.
This project is a fork of BADAndrea ModbusSniffer, maintained by niwciu with enhancements described above.


myEmbeddedWayBanerWhiteSmaller

Metadata

Release files for modbus-sniffer 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modbus-sniffer 1.0.3
File Size Uploaded Provenance Actions
modbus_sniffer-1.0.3.tar.gz 24.4 kB Without provenance Details for modbus_sniffer-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modbus-sniffer 1.0.3
File Interpreter ABI Platform Actions
modbus_sniffer-1.0.3-py3-none-any.whl Python 3 none any Details for modbus_sniffer-1.0.3-py3-none-any.whl

Total release size: 43.0 kB

Release files / modbus_sniffer-1.0.3.tar.gz

Download URL modbus_sniffer-1.0.3.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7b528e795dd3dfe6165a1cfa2b88aea2ab082418e127678968a6540085775f61
BLAKE2b-256 checksum
How to use checksums
081f4edf77d54d78b94a66ccb7b783ab8ec4f6168b41b1ca74a09972a4907f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / modbus_sniffer-1.0.3-py3-none-any.whl

Download URL modbus_sniffer-1.0.3-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdbde996e7c8c507b86e81d6b9e917702e2b9dca0433d08ac1b3690992c9a513
BLAKE2b-256 checksum
How to use checksums
17f14c35bc156d6455b4a6aef208227a767e59fc9f1ae3d6f4b0f3a8d0fac972
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for modbus-sniffer 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page