Free online PCAP to CSV converter
Extract selected packet fields from PCAP or PCAPNG into a usable CSV table.
Convert PCAP to CSV online - free
Your file is processed instantly and deleted as soon as you download it.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .pcap file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .pcap to .csv conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .csv file
Conversion result is ready to download.
Conversion statistics: PCAP to CSV
Updated November 12, 2026, from conversions on 101convert.com
How to convert pcap to csv file
- Internet
- No ratings yet.
A spreadsheet, reporting system, or script may require captured traffic as rows and columns instead of a binary packet trace. Converting the capture to CSV extracts selected fields for filtering, editing, sharing, or importing into Excel, LibreOffice Calc, Python, R, or a database.
What the PCAP format is
PCAP is a binary network-capture format that stores packet records, timestamps, captured and original lengths, a link-layer type, and captured bytes when available. The bytes may contain link, network, transport, and application data, depending on the capture point and snap length.
Wireshark, TShark, tcpdump, dumpcap, monitoring appliances, and intrusion-detection systems can create or write PCAP files. Network analysts use captures for troubleshooting, protocol analysis, performance investigations, incident response, and evidence preservation. The related PCAPNG format can also store multiple interfaces, comments, name-resolution data, and other capture metadata; current Wireshark and TShark versions generally read both formats.
Captures can contain credentials, cookies, IP addresses, messages, and other confidential payloads. Treat an unsanitized capture as sensitive evidence.
What the CSV format is
CSV is plain text organized into records and fields, usually with one record per line and commas separating fields. Quoting handles commas, quotation marks, and other characters inside field values, but CSV has no universal delimiter, encoding, or data-type standard.
A packet-summary CSV can contain frame number, timestamp, source and destination addresses, ports, protocol, and packet lengths. These columns are convenient for sorting, filtering, counting, charting, and database import, and the result is often much smaller than the original capture. CSV does not preserve the complete packet bytes, protocol hierarchy, reassembly state, capture metadata, comments, or analysis details that were not explicitly exported.
Using TShark
TShark is Wireshark’s command-line analyzer and gives repeatable control over the exported columns. Install Wireshark, or install the TShark package supplied by your operating system. Run the command from a terminal in the directory containing the capture:
tshark -r capture.pcap -n -T fields -E header=y -E separator=, -E quote=d -E occurrence=f -e frame.number -e frame.time_epoch -e ip.src -e ip.dst -e ipv6.src -e ipv6.dst -e tcp.srcport -e tcp.dstport -e udp.srcport -e udp.dstport -e _ws.col.Protocol -e frame.len -e frame.cap_len > packets.csv
-r reads the input, -n disables name resolution, and -T fields writes only the requested fields. The -E options add a header, select commas, quote values with double quotation marks, and keep the first value when a field occurs more than once. frame.len is the original on-wire length; frame.cap_len is the number of bytes captured. Replace capture.pcap with a .pcapng filename when necessary.
Fields that do not apply to a packet remain empty. For example, IP addresses are absent from non-IP traffic, and TCP ports are absent from UDP, ICMP, and other protocols. Add protocol-specific fields with additional -e options, such as dns.qry.name, http.request.method, tls.handshake.extensions_server_name, or tcp.stream. Use tshark -G fields to inspect field names supported by the installed version.
To export only packets matching a Wireshark display filter, add -Y:
tshark -r capture.pcap -n -Y "dns or tcp.port == 443" -T fields -E header=y -E separator=, -E quote=d -E occurrence=f -e frame.number -e frame.time_epoch -e ip.src -e ip.dst -e _ws.col.Protocol -e frame.len > filtered.csv
Use a shell-appropriate quoting style on Windows or another operating system if the filter contains special characters. TShark is preferable for large files, repeatable exports, and scripts because the schema is explicit.
Using Wireshark
- Open the PCAP or PCAPNG file with File → Open.
- Enter a display filter such as
dns,http,ip.addr == 192.0.2.10, ortcp.port == 443. - Configure the packet-list columns through Edit → Preferences → Appearance → Columns if the default columns are not sufficient. Add fields such as packet number, time, source, destination, protocol, and length.
- Choose File → Export Packet Dissections → As CSV. In the export dialog, select the displayed packets if the filter should limit the output.
- Save the file with a
.csvextension and inspect it in a text editor or controlled import before using it.
Wireshark’s graphical export is suitable for a one-time packet-list summary. Its output follows the packet-list columns, not every dissected field. Use TShark when exact field selection or repeatable batch processing is required.
Using the built-in online converter
You can convert the file on 101convert.com for free without installing software: upload the PCAP or PCAPNG file, choose CSV, start the conversion, and download the result.
Quality and compatibility limits
- A short snap length may leave only headers or partial payloads in the capture. CSV cannot restore bytes that were never captured.
- Encryption normally leaves addresses, ports, timestamps, and protocol metadata available, but not decrypted application content.
- Repeated fields require a schema decision.
-E occurrence=fkeeps the first value; other occurrence settings can create repeated or separator-joined values that do not fit a simple database column. frame.time_epochpreserves a numeric Unix timestamp and fractional seconds more reliably than a locale-formatted time. Keep it when event ordering matters.- Spreadsheet software may reinterpret timestamps, long integers, IP addresses, and values with leading zeros. Import columns with explicit text, integer, or date types when exact values matter.
- Large captures can produce millions of rows and exceed spreadsheet row limits. Filter before export, or load the CSV into a database, Python, R, or another data-processing tool.
- Retain the original PCAP or PCAPNG as the analysis source. CSV is a derived summary and is not sufficient for reliable packet reanalysis.
PCAP vs CSV: format comparison
How the PCAP and CSV formats compare on the properties that matter most for this conversion.
| Property | .PCAP Packet Capture | .CSV Comma-Separated Values |
|---|---|---|
| Open standard | Partly open | Yes |
| Compression | Uncompressed | Uncompressed |
| Typical file size | Medium | Small |
| Opens in a web browser | No | Yes, natively |
| Further editing | Limited | Easy |
| Metadata support | Basic | Basic |
| Plain-text readable | No | Yes |
| Best used for | Data exchange | Data exchange |
| Introduced | 1990 | — |
| Developer | The Tcpdump group / The Wireshark Foundation (common tools and ecosystem) | — |
| MIME type | application/vnd.tcpdump.pcap | text/csv |
Information about file extensions and file types is provided by File-Extensions.org
Suggested software and links: pcap to csv converters
Frequently asked questions
Is the PCAP to CSV converter free?
Yes, converting PCAP to CSV on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my PCAP file be?
You can upload PCAP files up to 3 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 200 MB per file and 10 files at once, see our plans.
What happens to my uploaded files?
Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.
Do I need to install any software to convert PCAP to CSV?
No. The PCAP to CSV conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid PCAP file for this PCAP to CSV conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.
Will converting PCAP to CSV keep the captured packet data?
No, CSV contains only the packet fields selected during extraction, such as timestamps, addresses, ports, and protocol information. Raw packet bytes, packet boundaries, and capture metadata that are not mapped to columns are lost.
Can I open a PCAP converted to CSV and analyze it like a spreadsheet?
Yes, the result is a plain-text table, but it is not a complete replacement for the capture. Each row usually represents a packet or selected record, while protocol relationships, binary payloads, and detailed capture structure are flattened into text fields.
Why are some PCAP fields missing or blank in the CSV?
Fields can be missing when a packet does not contain that protocol information or when the extraction process was not configured to decode it. PCAP and PCAPNG captures can also contain different link types, interfaces, or malformed packets that prevent a field from being interpreted consistently.
Will a PCAP to CSV conversion make the file smaller?
It often produces a smaller file when only a few descriptive fields are exported, but it can become larger if payloads or detailed decoded fields are written as text. The result depends on which columns are selected and how binary values are represented.