Export
You can export data from a session in Charles by choosing Export from the File menu.
Charles supports a number of different export formats:
- CSV
- Trace text file
- XML
Both the Trace & XML formats are available for importing as well.
CSV Format
The CSV export doesn't contain all of the session information, so it is not possible to import CSVs. The CSV export contains summary data about the timing and size of the requests and responses.
Trace File Format
This is a plain text file format specific to Charles. It has the advantage that it is simple to read and write. It is especially designed to be used to dump requests easily as it has very simple syntax.
XML File Format
The XML file format is designed for exchanging session recordings with 3rd party software. The DTD for the XML file format is available: http://www.charlesproxy.com/dtd/charles-session-1_0.dtd