Guide
What's in the ChatGPT export ZIP, and how to open conversations.json
To read your chats, unzip the export and open chat.html in a browser. It shows every conversation as a page you can scroll. conversations.json holds the same chats as raw data for programs, which is why it looks scrambled in a text editor. Below is what each file is for, why the JSON is laid out the way it is, and how to turn it into something readable.
What each file in the export is
OpenAI says only that the ZIP "includes your chat history and other relevant account data" (OpenAI on exporting your data). It does not publish a file list, and the names change between exports. These are the ones people who open recent exports report:
| File | What it holds | Open it with |
|---|---|---|
chat.html | Every conversation as one web page | Any browser, offline |
conversations.json, or conversations-0.json, -1.json and so on | The same chats as structured data; large accounts get several numbered files | A code editor or a script |
user.json | Account details such as your email address | Any text editor |
message_feedback.json | The thumbs up and thumbs down you gave answers | Any text editor |
Files starting file- or file_, and image folders | Files you uploaded and images from your chats, including generated ones | Whatever opens that file type |
Some exports also hold settings files, a list of shared links, or an export_manifest.json that lists every file and its size (notes from a converter's documentation). If yours has fewer files, that is normal: an account with no feedback or uploads has nothing to put in them.
The quick way to read it: chat.html
- Unzip the download. On Windows, right-click it and choose Extract All; on a Mac, double-click it.
- Open the folder and double-click
chat.html. It opens in your browser, with no internet needed. - Scroll to the conversation you want, or use Ctrl+F (Cmd+F on a Mac) to search the page.
Limits of chat.html
- It is one page for your whole history. For a heavy user it can pass 100 MB and take a while to load.
- It has no list of chats to click through and no search beyond the browser's own.
- Some exports do not include it, so you may only have the JSON.
- To print or send one chat, you have to find it in the page and copy it out.
Why conversations.json looks scrambled
The file is a list of conversations, but each conversation is not stored as messages in order. It is stored as a tree, because editing a message or regenerating an answer in ChatGPT starts a new branch, and the export keeps every branch.
titleis the chat's name, andcreate_timeandupdate_timeare dates written as Unix time: the number of seconds since 1 January 1970. 1710000000 is 9 March 2024.mappingholds the messages, each under a random ID. Every entry names itsparent(the message before it) and itschildren(the ones after it).current_nodepoints to the last message of the branch you saw in ChatGPT. To rebuild the chat as you knew it, start there and follow eachparentback to the start.- The words themselves sit in each message under
content→parts, next to the author's role:user,assistant,systemortool.
That is why opening it in Notepad shows a wall of IDs and brackets: the reading order only exists once something follows the links.
How to open conversations.json
To look inside
Open it in a code editor such as VS Code, which can fold the structure and handles large files better than Notepad or TextEdit. Firefox also shows JSON as a tree you can expand. For files over about 100 MB, expect any editor to be slow.
To turn it into readable text
If you have Python installed, this short script prints every chat in order, following the branch you last saw. Save it as read_export.py in the unzipped folder and run python read_export.py > chats.txt.
import json
# For a split export, run this once per conversations-N.json file.
with open("conversations.json", encoding="utf-8") as f:
conversations = json.load(f)
for chat in conversations:
print("#", chat.get("title") or "Untitled")
lines = []
node_id = chat.get("current_node")
while node_id: # walk from the latest message back to the start
node = chat["mapping"][node_id]
message = node.get("message") or {}
parts = (message.get("content") or {}).get("parts") or []
text = "".join(p for p in parts if isinstance(p, str)).strip()
if text:
lines.append(f"{message['author']['role']}: {text}")
node_id = node.get("parent")
print("\n\n".join(reversed(lines)), end="\n\n")It keeps text only. Images, files and the hidden branches are left out, and it shows Markdown as plain characters. If your export has numbered files, change the file name and run it once for each.
Can the export go back into ChatGPT?
No. OpenAI says exported conversations cannot be imported into another ChatGPT account (OpenAI on transferring conversations), and an export cannot bring back chats that were deleted before it was made. Keep it as a record, not as a way to move accounts. To carry context to Claude or Gemini instead, see moving your ChatGPT history to Claude or Gemini.
Readable files without the ZIP
If what you wanted was your chats as documents, the export is the long way round: days of waiting, then a file built for programs. Backup My AI Chat reads conversations from the ChatGPT page in your browser instead.
- One chat: open it on chatgpt.com, press Export and choose PDF, Word, Markdown, text, JSON or image. See how to export one ChatGPT chat.
- Every chat: run Auto-save once and each conversation becomes its own Markdown file in a folder you choose, named by date and title, then kept up to date. See how to back up all your ChatGPT chats.
- Many chats as PDF or Word: after Auto-save, tick them in Bulk Export for one merged file or a .zip of separate ones.
Keep the official export as well if you need memories, settings or the full account record. Backup My AI Chat saves conversations, not account data.
What Backup My AI Chat does not do
- It runs in desktop Chrome and Microsoft Edge. There is no phone, Firefox or Safari version. In Brave and other Chromium browsers, Auto-save has not been tested yet.
- It reads the chats in the account you are signed in to. It cannot bring back a chat that is already deleted.
- Auto-save runs while the browser is open. A run that fell due while the browser was closed is caught up when it starts.
- Gemini, Grok and DeepSeek are read through one of their own tabs: Sync now opens one in the background and closes it; scheduled runs save those services only while such a tab is already open.
- Each AI service's terms restrict automated access to some degree, and none of them has approved this tool. Check the terms of the services you use.
Questions
Why is there no chat.html in my export?
Some exports leave it out, and OpenAI does not say why. Your chats are still in the JSON file or files; use the script above, or a converter, to read them.
Where are my images?
Uploaded files and images sit next to the JSON as files whose names start with file- or file_, or in image folders. The JSON points to them by ID, not by name, so matching an image to its chat takes a converter.
Is conversations.json safe to share?
Treat it like your inbox. It holds every chat in the account, and user.json holds your account details. OpenAI itself warns that downloaded data can include sensitive information.
The ZIP will not open, or it is almost empty
A ZIP of about 1 KB holds no conversations. Download it again on a stable connection, within the 24 hours the link lasts. More fixes are in ChatGPT data export not working.