What is Text2pcap?
Text2pcap is made by The Wireshark Dev Community. A command-line utility that converts ASCII hexadecimal dumps of network packets into libpcap-formatted capture files for analysis and toolchain integration.
What Text2pcap does
A command-line utility that converts ASCII hexadecimal dumps of network packets into libpcap-formatted capture files for analysis and toolchain integration.
- Parses ASCII hexdumps with offsets in hex, octal, or decimal
- Recognizes directional indicators and timestamps in input dumps
- Automatically handles multiple packet dumps and packet boundaries
- Prepends dummy Ethernet II headers with configurable L3 protocol (-e)
- Prepends dummy IPv4 and IPv6 headers with custom source/destination addresses (-4, -6)
- Prepends dummy L4 headers for SCTP, TCP/UDP with custom ports and tags (-s, -T, -u)
- Supports raw IP encapsulation modes (-E rawip) and custom link-layer types (-l)
- Generates output in PCAP or PCAP-NG formats (-n)
Category: File Analysis Software. Text2pcap is free to use.
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does Text2pcap do?
A command-line utility that converts ASCII hexadecimal dumps of network packets into libpcap-formatted capture files for analysis and toolchain integration.
How common is Text2pcap in large enterprises?
Samplify finds Text2pcap in about 2 in 10 of the large enterprise software estates it has analysed.
Is Text2pcap free?
Text2pcap is free to use.
What can replace Text2pcap?
Other tools in the same category include 7-Zip, Beyond Compare, Pandoc, TreeSize.
Do we already own something that does what Text2pcap does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with The Wireshark Dev Community.