Scapy
scapy.net
- Free plan
- Windows
- macOS
- Linux
- Web
- API
- Self-hosted
What Scapy is
Scapy is a free Python packet manipulation program and library for creating, decoding, sending, and capturing network packets, as well as matching requests with replies. It can be used interactively in a shell or from Python code. Listed uses include scanning, tracerouting, probing, unit tests, attacks, and network discovery. Users can assign packet fields and combine protocol layers without relying on predetermined templates. After a probe, Scapy returns decoded packets before interpretation, leaving users to analyze the results. It reads and stores pcap files and can inject invalid frames and custom 802.11 frames. Documentation covers adding protocols and extending the program with add-ons, alongside installation, usage, troubleshooting, and API guidance. Scapy runs on Linux, macOS, BSD, and Windows; Windows installation requires Npcap. Plotting needs Matplotlib, while TLS decryption and PKI operations require the cryptography package. Code, tests, and tools use the GPL v2 license, and documentation uses CC BY-NC-SA 2.5. The listed plan is free and requires Python 3.7+.
Who it suits
Scapy suits developers, IT and science researchers, system administrators, and telecommunications users who need customizable packet work and network probing rather than fixed-purpose utilities.
Good to know, and what to watch
- Works as an interactive shell or Python library.
- Supports custom packet fields and protocol-layer combinations.
- Reads and stores pcap files.
- Returns decoded packets before interpretation.
- Documentation includes troubleshooting and an API reference.
- Windows installation requires Npcap.
- Plotting requires Matplotlib.
- TLS decryption and PKI operations require cryptography.
- Only the latest Scapy master version is supported.
Plans
Every plan and priceScapy
Free plan
Getting started
- Open https://scapy.net/
- Install the latest release with pip install scapy
- Alternatively run the run_scapy or run_scapy.bat script without installation
- Install Npcap before using Scapy on Windows
- Add Matplotlib, cryptography, or other optional packages for related features
Limits to check
Scapy is free under GPL v2. Plotting requires Matplotlib, while TLS decryption and PKI operations require cryptography.
The verdict
Scapy offers packet-level flexibility for users comfortable working with Python and interpreting raw results. Check its optional dependencies and Windows requirement before choosing it for a specific task.
Questions people ask
How much does Scapy cost?
The Scapy plan is free at no cost and includes a GPLv2 license.
Which platforms does Scapy support?
It runs on Linux, macOS, BSD, and Windows, and is also available through API, web, and self-hosted deployment listings.
Can Scapy capture and analyze packets?
Yes. It can send and capture packets, read and store pcap files, support remote capture, and provide flow analysis.
Does Scapy support traffic decryption?
Traffic decryption is supported, while TLS decryption and PKI operations require the cryptography package.
Can users extend Scapy?
Yes. The documentation explains adding new protocols and extending the program with add-ons.
What license covers Scapy?
Its code, tests, and tools are licensed under GPL v2; documentation uses CC BY-NC-SA 2.5.
What the maker publishes
- Audience
- Scapy is intended for users who need customizable network probing and packet manipulation tools rather than fixed-purpose utilities. source
- Documentation
- The project provides online documentation with installation instructions, usage guides, troubleshooting, and an API reference. source
- Installation
- The latest release can be installed with pip install scapy, and it can also run from the run_scapy or run_scapy.bat scripts without installation. source
- Intended audiences
- The project metadata lists developers, IT, science and research, system administrators, and telecommunications as intended audiences. source
- Interactive modes
- Scapy can be used as an interactive shell or as a library. source
- License
- Scapy’s code, tests, and tools are licensed under GPL v2. source
- Licensing
- Scapy code, tests and tools are licensed under GPL v2, while its documentation is licensed under CC BY-NC-SA 2.5. source
- Network tasks
- The project lists scanning, tracerouting, probing, unit tests, and network discovery among Scapy’s uses. source
- Optional dependencies
- Plotting requires Matplotlib, while TLS decryption and PKI operations require the cryptography package. source
- Optional integrations
- Optional features can use Matplotlib, PyX, Graphviz, ImageMagick, VPython-Jupyter and cryptography. source
- Packet flexibility
- Users can set arbitrary field values and stack protocol layers without predetermined templates. source
- Packet handling
- Scapy can read and store packets in pcap files and can inject invalid frames and custom 802.11 frames. source
- Packet handling
- It can forge or decode packets across many protocols, send them, capture them, and match requests with replies. source
- Platforms
- Scapy runs on Linux, macOS, BSD and Windows; Windows installation requires Npcap. source
- Platform support
- Scapy runs on Linux, macOS, BSD, and Windows; Windows installation requires Npcap. source
- Protocol extensions
- The documentation includes instructions for adding new protocols and extending Scapy with add-ons. source
- Purpose
- Scapy is a Python packet manipulation program and library that can forge or decode packets, send and capture them, and match requests with replies. source
- Purpose
- Scapy is a Python program for sending, sniffing, dissecting and forging network packets. source
- Python DSL
- Scapy uses Python syntax and interpreter capabilities as a domain-specific language for describing packets. source
- Raw results
- After a probe, Scapy returns the full decoded packets before interpretation so users can analyze them in different ways. source
- Release
- Scapy documentation lists release 2.7.1 dated October 1, 2026. source
- Security reporting
- GitHub’s security page says the project has not set up a SECURITY.md file and provides a vulnerability reporting link. source
- Security support
- Critical bugs should be reported privately through GitHub's security tab, and the project supports only the latest Scapy master version. source
- Shell and library
- Scapy can be used as an interactive shell or as a library. source
Checked against the maker's pages on 2 Oct 2026.