The short answer
Yes. Wireshark is free to download and use. It is open source software released under the GNU General Public License, so you can run it at home, at school, or at work without buying a license. As far as I know, the project does not sell a paid edition, though it accepts donations.
What the license allows
The GNU General Public License lets you run Wireshark for any purpose, read its source code, and change it. If you share a modified copy, the license’s conditions apply to that copy. Most people who use Wireshark to troubleshoot never need to think about this. A company that builds a product on top of it should read the license first.
Windows needs a capture driver
Wireshark captures packets through a driver on the computer. On Windows, the installer offers Npcap for this job. Npcap is a separate project with its own license, and its terms can differ from Wireshark’s, including for business use. Read those terms before you install it across an organization.
On Linux and macOS, capture uses features the operating system already has. You may need extra permissions, such as root access or membership in a group set up for capture. The installer can explain the options for your system.
Capture only what you may see
Who may capture network traffic, and what they may look at, depends on permission and policy, not on the tool. Capturing on your own network, or on one where you have permission, is a normal diagnostic step. Capturing on a network you do not control can be illegal in some places and is almost always against policy at work or school.
Even on your own network, encrypted traffic such as HTTPS shows as encrypted data. Addresses, ports, and timing usually remain visible, but the contents do not.
Free alternatives for capture
- tshark is the command-line version that ships with Wireshark. It is useful on servers without a desktop.
- dumpcap is the capture-only program Wireshark uses, and it also ships with Wireshark.
- tcpdump is a long-used command-line capture tool on Linux and macOS. It is a separate project.
Wireshark is one of several free network utility software packages. The other tools on that list cover scanning, monitoring and diagnostics, which Wireshark does not replace.
When Wireshark is the wrong tool
If you need to know which devices are online, a scanner or a monitor is faster. If you need to know whether a service is up, a simple ping or port check may be enough. Wireshark is the right choice when you need to see the actual packets, such as when a connection fails in a way the logs do not explain.
If you run Linux, “What are the best networking tools for Linux?” covers other options that fit a Linux desktop or server.