Need help with pcap2har?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

209 Stars 68 Forks BSD 2-Clause "Simplified" License 195 Commits 16 Opened issues


A convertor from .pcap network capture files to HTTP Archive files.

Services available


Need anything else?

Contributors list

pcap2har: converts .pcap network capture files to HTTP Archive files.

mailing list:

The HAR format is still not completely supported, but the main parts are there and features are being added.

To run the program, run with two arguments: the name of the capture file, and the HAR output filename. For example:

./ my.pcap my_pcap.har

The HTTP Archive (HAR) file format specification is here: It is a fairly straightforward JSON format.

pcap2har includes, by Leonard Richardson. It only uses the class UnicodeDammit, for unicode encoding detection. Its capabilities will be improved if the chardet library is also available. It can be gotten from here:

pcap2har is written in Python, and depends on the dpkt packet-parsing library (

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.