Tcpdump and Wireshark Filter Builder
Pick hosts, ports, networks and protocols and get a tcpdump capture filter, the matching Wireshark display filter and a ready tcpdump command.
- Free
- No sign-up
- Works on any device
About Tcpdump and Wireshark Filter Builder
Build a packet capture filter without memorising the syntax. Pick a protocol or service, add hosts, networks and ports, choose source or destination, TCP flags such as SYN only, and exclude noisy traffic. You get the tcpdump capture filter in BPF syntax, the matching Wireshark display filter and a ready tcpdump command. TCP with host 10.0.0.5 and port 443 gives the capture filter tcp and host 10.0.0.5 and port 443, and the display filter tcp && ip.addr == 10.0.0.5 && tcp.port == 443. The two syntaxes are different languages, which is why both are shown.
How to use Tcpdump and Wireshark Filter Builder
- Choose the protocol or service, then type the hosts, networks and ports you care about.
- Add TCP flags or exclusions if you want to narrow the capture, and set the interface name.
- Copy the capture filter into tcpdump, or the display filter into Wireshark's filter bar.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
What is the difference between a capture filter and a display filter?
A capture filter (BPF) limits what is recorded and is set before capturing starts. A display filter hides packets already loaded in Wireshark and is more powerful, with protocol fields instead of port numbers.
Why is the filter in quotes in the tcpdump command?
Characters such as parentheses, ampersands and bars have a meaning on the command line. Single quotes pass the whole filter to tcpdump unchanged.
Can I capture HTTP on any port?
A capture filter only sees ports, so HTTP means a port such as 80. A Wireshark display filter named http decodes whatever port Wireshark recognises, so apply it after capturing.
Is Tcpdump and Wireshark Filter Builder free?
Yes. Tcpdump and Wireshark Filter Builder on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.