Wireshark does not provide a way to export packets as plain text in a format that can then be imported to recover the original pcap file.
This issue was migrated from bug 1636 in our old bug tracker.
Original bug information:
Reporter: Christopher Maynard
Status: RESOLVED FIXED
Product: Wireshark
Component: GTK+ UI
OS: All
Platform: All
Version: Git
Attachments:
bug1636_1.patch: A proposed patch for allowing column headings not to be printed.
: An updated "File -> Import from Hex Dump" screen shot showing the pre-populated default Date/Time Format to (hopefully) help the user.
: An updated 'File -> Export Packet Dissections -> as "Plain Text" file...' screen shot showing the new "Include column headings" checkbox.
See also: Issue #1628 (closed)