ChatGPT Export Viewer for conversations.json – Free

This ChatGPT export viewer turns the conversations.json file from your account export into readable transcripts, one conversation after another. The file is read locally in your browser.

How to use the ChatGPT export viewer tool

  1. Request a data export in ChatGPT settings, download the ZIP from the email link and extract it.
  2. Under conversations.json, choose the conversations.json file from the extracted folder.
  3. Select Read conversations to parse the file.
  4. Scroll the Result box: each chat starts with its title, followed by its messages labeled user, assistant or another role.
  5. Select Copy to copy the full transcript text.

What is inside a ChatGPT data export

ChatGPT lets you request a copy of your account data from the Data controls section of its settings. You receive a ZIP archive by email. One of the files in it, conversations.json, holds your chat history as a single JSON array with one object per conversation.

That file is hard to read directly. Each conversation has a mapping object, a dictionary of nodes keyed by ID, and every node records its message, its parent node and its children. The structure is a tree: editing a prompt or regenerating an answer creates a new branch next to the old one.

How the ChatGPT export viewer rebuilds a conversation

Every conversation object names a current_node, the last message of the branch that was active when you exported. The viewer starts there and follows the parent links upward until it reaches the root, then reverses the collected messages so they read in chronological order.

For each node it takes the string entries of message.content.parts, joins them with line breaks and prefixes the author role. Nodes with no message, empty text or no parts array are skipped. A conversation without a title is shown as Untitled conversation, and a ruled line separates one chat from the next, as in this output from a small test file.

Regex help

user: How do I match a date?

assistant: Try \d{4}-\d{2}-\d{2}.

user: And a time?

assistant: Use \d{2}:\d{2}.

────────────────

Untitled conversation

tool: tool output

What the transcript leaves out

The output is a text reading view, not a full dump of the file. Keep the original export if you need any of the following.

  • Alternative branches. Only the path that ends at current_node is shown, so earlier versions of an edited prompt and regenerated answers are not listed.
  • Images, audio and file attachments. Non-text parts are objects in the JSON and are dropped. Only string parts are printed.
  • Messages whose content has no parts array. Some tool-related content types keep their text in a different field.
  • Timestamps, model names and conversation IDs. These fields exist in the file and are not printed.

File size and display limits

The file picker expects JSON, so extract the ZIP first and select conversations.json itself. Files larger than 30 MiB are rejected before parsing. The combined transcript is capped at 2 million characters. Beyond that the tool stops with an error and shows no partial result. If your history is larger, split the JSON array into smaller files with a script and load them one at a time.

A file that is not valid JSON, or whose top level is not an array, also produces an error. That usually means the wrong file was chosen, for example chat.html or the ZIP archive.

Frequently asked questions

How do I export my ChatGPT conversations?

Open ChatGPT settings, go to Data controls and choose the export option. OpenAI emails a download link for a ZIP archive. Extract it to find conversations.json.

Is my chat history uploaded when I use this viewer?

No. The browser reads the file from your disk and JavaScript on the page builds the transcript. The conversations are not sent to any server.

Why are some messages missing from the result?

The viewer prints only text parts on the active branch. Regenerated answers, edited prompts, image or file parts and entries that have no parts array are skipped, and messages with empty text are dropped as well.

Can I open the export ZIP file directly?

No. The tool parses the selected file as JSON, so a ZIP archive fails with a syntax error. Unzip the export first, then choose conversations.json from the extracted folder.

Can I save the transcript as a file?

The result is plain text in the Result box. Select Copy and paste it into a text editor to save it as a .txt or Markdown file. The tool itself does not create a download.

Related tools