JSON
Export a ChatGPT conversation to JSON
A stable, versioned structure meant to be read by code rather than by people.
No account, nothing stored. Files are built in your browser — revoke sensitive share links afterwards.
The converter is preset to JSON. You can change the format at any time.
Why this format
A documented, versioned schema
Every payload carries a schemaVersion so your parser can fail loudly instead of silently when the shape changes.
Typed content blocks
Paragraphs, headings, lists, code, tables, and quotes are distinct block types — no string-scraping to find the code.
Roles and timestamps intact
Each turn keeps its role and ISO timestamp, which is what you need for evaluation sets and audit trails.
Drops straight into a pipeline
Feed it to an embedding job, a dataset builder, or your own renderer without a normalization step.
Example output
{
"schemaVersion": "1.0",
"title": "Designing a typed conversion service",
"messages": [
{
"id": "m2",
"role": "assistant",
"createdAt": "2026-03-14T14:02:29.000Z",
"blocks": [
{ "type": "paragraph", "text": "Define the contract first…" },
{ "type": "code", "language": "typescript", "code": "interface…" }
]
}
]
}Step by step
- 01Paste the public share link and load the conversation.
- 02Keep 'Include metadata' on if you need the model, retrieval time, and message count.
- 03Turn off pretty printing for a compact file when storing many exports.
- 04Download the .json file, or copy it straight into your editor.
Tradeoffs and limits
- The schema describes normalized content, not ChatGPT's internal message tree.
- Alternate branches and regenerated replies are not represented.
- Field names may gain additions in future schema versions; existing fields are kept stable.
Files are generated in your browser. Nothing is stored.
Questions about this export
Related tools
- ChatGPT to MarkdownThe most faithful text format: fenced code, real tables, and links that survive a copy-paste into any editor.
- Export ChatGPT code blocksKeep indentation, language identifiers, and block boundaries — the three things that break when you copy code by hand.
- ChatGPT to plain textNo markup, no styling, no surprises — the format that opens on every machine you will ever touch.
