
Where the file comes from
You get it by exporting your data in ChatGPT (Settings → Data controls → Export data). The ZIP from the email contains:
conversations.json— every chat. Large exports split it intoconversations-000.json,conversations-001.jsonand so on; each part is an array with the same structure.chat.html— the same chats as one web page.- Images you uploaded or generated, named after their file ID (for example
file-…), and account files such asuser.jsonandmessage_feedback.json.
One conversation at the top level
{
"title": "Plan a trip to Lisbon",
"create_time": 1735689600.5,
"update_time": 1735693200.25,
"conversation_id": "…",
"current_node": "a2",
"default_model_slug": "gpt-4o",
"is_archived": false,
"mapping": { … }
}
create_timeandupdate_timeare Unix timestamps in seconds, often with a fraction.mappingholds every message of the chat, keyed by node ID.current_nodeis the ID of the last message of the branch you were looking at.- Other fields (model, archive flag,
gizmo_idand more) come and go over time, so parse them defensively.
The mapping tree and current_node
Each entry in mapping is a node with id, message, parent and children. The first node is usually an empty root whose message is null. When you edit a prompt or regenerate an answer, ChatGPT doesn't overwrite anything: it adds a sibling node, so the parent now has two children.
"mapping": {
"root": { "message": null, "parent": null, "children": ["u1"] },
"u1": { "message": { … "Plan 3 days in Lisbon" }, "parent": "root", "children": ["a1", "a1b"] },
"a1b": { "message": { … old regenerated answer }, "parent": "u1", "children": [] },
"a1": { "message": { … }, "parent": "u1", "children": ["a2"] },
"a2": { "message": { … final answer }, "parent": "a1", "children": [] }
}
To get the conversation as you saw it, start at current_node, follow parent up to the root and reverse the list. That is the active branch. The other branches — earlier versions of answers and prompts — stay in the file. The viewer shows only the active branch, like the ChatGPT app; if current_node is missing, it uses the most recent leaf.
Messages and content types
A message has an author.role (user, assistant, system or tool), a create_time, metadata, a recipient and a content object whose content_type says what it holds:
content_type | What it holds |
|---|---|
text | Ordinary messages: parts is an array of strings. |
multimodal_text | Text mixed with objects. Images are image_asset_pointer parts whose asset_pointer (file-service://file-… or sediment://file_…) matches an image file in the ZIP. |
code, execution_output | Code the model ran with a tool (for example Python) and its output. |
thoughts, reasoning_recap | Reasoning summaries of reasoning models. |
tether_quote, tether_browsing_display | Quotes and results from browsing tools. |
user_editable_context | Your custom instructions, attached as hidden context. |
Many messages were never shown in the app: system prompts, hidden context (metadata.is_visually_hidden_from_conversation) and the model's calls to tools such as web search or image generation. Answers that used web search also contain citation markers made of private-use characters, which look like junk outside ChatGPT; the viewer removes them.
What about chat.html?
chat.html shows the same chats as a single page. The data is embedded in it as a JavaScript variable (var jsonData = […]) with the same structure. It opens in any browser, but it has no search or export and gets very slow with a big history. The viewer can read chat.html on its own if that is all you have.
How to read conversations.json without code
- Drop the whole export ZIP into the viewer below. If you only have the JSON, select
conversations.json, all the numberedconversations-000.jsonfiles, orchat.html. - Search across all chats, or pick one from the list. You see the active branch with formatting, code and — if you dropped the ZIP — images.
- Save a chat as PDF, Markdown, Word or HTML, or many chats with Export many chats at once.

Everything runs in your browser; the file is never uploaded. A conversations.json of a few hundred megabytes works in desktop Chrome, Edge and Firefox.
A note for developers
- Read every
conversations*.jsonfile in the ZIP, not onlyconversations.json. - Walk from
current_nodethroughparent; don't rely on the order of keys inmapping. Guard against missing nodes. - Timestamps are seconds (floats or
null), not milliseconds. - Expect new
content_typevalues; fall back to stringpartsortext. - Big histories make big files: consider a streaming JSON parser if memory is tight.
import json
convs = json.load(open("conversations.json", encoding="utf-8"))
for conv in convs:
mapping, node, path = conv["mapping"], conv.get("current_node"), []
while node in mapping:
path.append(mapping[node])
node = mapping[node]["parent"]
for n in reversed(path):
msg = n.get("message") or {}
parts = (msg.get("content") or {}).get("parts") or []
text = " ".join(p for p in parts if isinstance(p, str)).strip()
if text:
print(msg["author"]["role"], ":", text[:80])
Open your conversations.json
Drop your ChatGPT or Claude export here
ZIP as downloaded · several files at once are fine
Your chats are opened in this browser tab and never uploaded.
How to get your export
- In ChatGPT, open Settings → Data controls and click Export data, then Confirm export.
- OpenAI emails you a download link, usually within minutes (large accounts can take longer). The link expires after 24 hours.
- Download the ZIP and drop it here as it is — no need to unzip it.
- In Claude, open Settings → Privacy and click Export data.
- Anthropic emails you a download link. Newer exports come as several files (a manifest plus
conversations-000.zip, …). - Select all the downloaded files and drop them here together, or drop the single ZIP if you got one.
- Go to takeout.google.com, click Deselect all, then tick My Activity.
- Under Multiple formats set Activity records to JSON, and under All activity data included choose only Gemini Apps.
- Create the export, download the Takeout ZIP and drop it here.
Frequently asked questions
Why is my export split into conversations-000.json, -001 and so on?
Large histories are split into several numbered files. Each one has the same structure as conversations.json; together they contain all your chats. The viewer combines them automatically when you drop the ZIP.
Can I open conversations.json in a text editor or Excel?
A text editor can open it, but you will see one huge, deeply nested structure, and Excel can't turn the message tree into a useful table. The viewer shows it as readable chats.
Does conversations.json contain my images?
No, only references to them. The image files are stored separately in the ZIP, so drop the whole ZIP to see pictures in the chats.
Are regenerated answers and edited prompts in the file?
Yes, as other branches of the tree. Chats you deleted before exporting are not included.