Free online Text to pcap - text2pcap



Free online tool to convert text file to a Wireshark capture file.

The import text format is based upon the text output format of a Wireshark capture file.

Export a wireshark capture file as follows :

text2pcap convert

Then indicate that the packet bytes have to be exported.

The packet bytes flag is mandatory but the other packet format flags may be checked too.

Export2

This gives a text file that can be uploaded to this page or pasted into this page


Hereafter some example input text files that can be converted to Wireshark capture files.

The original Wireshark capture file is sip-rtp-g711.pcap

Wireshark command to generate text file Resulting text file
tshark -T text -x -r sip-rtp-g711.pcap Wireshark export with packet bytes only
tshark -T text -V -x -r sip-rtp-g711.pcap Wireshark export with packet bytes and packet details
tshark -T text -t ad -P -x -r sip-rtp-g711.pcap Wireshark export with packet bytes and packet summary line
tshark -T text -t ad -V -P -x -r sip-rtp-g711.pcap Wireshark export with packet bytes and packet details and packet summary line

BackBack to Hex2Pcap main page