CAP PCAP
File conversion

Convert CAP to PCAP

QUICK ANSWER
Is it possible to convert CAP to PCAP?
Yes - CAP converts to PCAP.

If the .cap was recorded by Wireshark, tcpdump, or airodump-ng, rename it to .pcap - the data is identical and no re-encoding is needed. For captures from Microsoft Network Monitor, open the file in Wireshark and use File > Save As to re-encode it as standard libpcap.

Also to PCAP: PCAPNG · PKT · PKA

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert CAP to PCAP?

Both .cap and .pcap share the same MIME type and almost always hold identical libpcap binary data - the only difference is the extension the capturing tool chose to write. Many scripts and tools in the network-analysis ecosystem filter by extension and require .pcap, making a rename or re-save necessary for compatibility.

How to convert CAP to PCAP

Wireshark OPEN-SOURCE

Open the .cap via File > Open, then go to File > Save As and select "Wireshark/tcpdump/... - pcap" in the format dropdown to write a proper .pcap.

editcap FREE

Run editcap -F pcap input.cap output.pcap on the command line; editcap ships with Wireshark and handles format re-encoding on Windows, macOS, and Linux.

About these formats

Quality & what to watch

  • If the .cap was written by Wireshark, tcpdump, or airodump-ng it is already libpcap - renaming the extension to .pcap is sufficient and no re-encoding is needed.
  • Captures from Microsoft Network Monitor use a proprietary header; renaming those without re-saving through Wireshark will produce a broken file.
  • The conversion does not strip any payload data; sensitive content such as credentials or session tokens remains in the output .pcap.

Frequently asked questions

Can I just rename `.cap` to `.pcap` without any tool?
Yes, if the capture was made by Wireshark, tcpdump, or airodump-ng. For Microsoft Network Monitor captures you must re-save through Wireshark.
Will renaming change WPA handshake data in an airodump-ng capture?
No. An airodump-ng .cap is valid libpcap. Renaming it to .pcap leaves all packet data, including WPA handshakes, exactly intact.
What is editcap and do I need to install it separately?
editcap is a command-line tool included with Wireshark. Installing Wireshark gives you editcap automatically.