What is a PCAP file?

A PCAP file is a recording of network traffic. Tools like Wireshark and tcpdump save every packet that passes a network card, with the time it arrived and its raw bytes, so you can look at the traffic later. The older format ends in .pcap, and the newer PCAPNG format can hold several network interfaces and their names in one file. Network admins, developers and security teams pass these files around to show what went wrong on a connection.

Tool description

This tool opens PCAP and PCAPNG files right in your browser, without installing Wireshark. Pick a capture and every packet shows up in a list with its time, source and destination, protocol, length and a short summary, the way Wireshark lists them. Click a packet to see its layers, from the Ethernet frame up to DNS, HTTP or TLS, and its raw bytes in a hex view. Filter the list by text or by protocol to find the packets you care about.

Features

  • Reads PCAP files in both byte orders, with microsecond or nanosecond timestamps, and PCAPNG files with several interfaces
  • Packet list with time, addresses, protocol, length and a summary for every packet
  • Decodes Ethernet, VLAN tags, ARP, IPv4, IPv6, ICMP, TCP, UDP, DNS, HTTP and TLS, including the server name a browser asks for
  • Filter by address, port, protocol or summary text
  • Layer details and a hex dump for each packet
  • Capture facts: format, packet count, duration, size and the time of the first packet

How it works

The file never leaves your computer. The tool reads it in your browser, splits it into packets and decodes the headers of each one. Times in the list count from the first packet. TCP sequence numbers count from the start of each connection, like in Wireshark, and the details show the raw numbers too. A packet that ends early or breaks the rules of its protocol gets "Malformed packet" as its summary, and the rest of the list stays readable.

The tool shows each packet on its own. It doesn't put TCP streams or IP fragments back together, so an HTTP response spread over many packets shows only its first line.

Tips

  • To make a capture, record with Wireshark or run tcpdump -i any -w capture.pcap, then stop it once the problem has happened.
  • Type a port like 443 or an IP address in the search box to follow one connection.
  • Pick DNS in the protocol list to see every name lookup and its answer.
  • TLS traffic is encrypted, but the Client Hello still names the website, and the summary shows it.
  • If the capture ends in .gz, unzip it first.