DevTools Logo

ChatGPT Export to Markdown

ChatGPT Export to Markdown

Turn a ChatGPT or Claude data export into clean markdown files, locally and without uploading a thing.

Runs in your browser
Try an example

Export file and options

Conversion options

Files are parsed in this tab. Exports stay on your device.

Conversations and markdown

0 shown · 0 selected

No export loaded

Choose conversations.json, an HTML export, or load one of the examples.

Examples

Archive one thread

Load conversations.json, pick a title from the list, preview its active branch as markdown and download the .md file.

Batch export to Obsidian

Select several conversations, keep YAML frontmatter enabled and download one ZIP with dated, slugified filenames.

Inspect branches and tool calls

Enable 'Annotate all branches' and 'Include tool calls' to see retried answers and fenced JSON blocks in the preview.

About this tool

The ChatGPT Export to Markdown tool understands the structure of real data exports instead of treating them as generic JSON. For ChatGPT it follows current_node and parent links to the active branch of each conversation tree, ignores hidden and alternate nodes by default, and can annotate alternative branches on request. For Claude it reads flat message arrays with text, thinking, image and tool blocks. The emitter writes role headings, joins text parts, fences code using metadata.language_id (never the tool recipient field), renders tool calls as JSON blocks and optionally adds YAML frontmatter with title, date, model and message count. Search and sort the conversation list, choose individual chats or a batch selection, and download a store-only ZIP with Unicode-safe, collision-free filenames. Everything is parsed and emitted in the browser: no export file is uploaded, and the rendered preview shows plain text so exported HTML can never execute.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Drop conversations.json

    Load your unzipped ChatGPT or Claude JSON export file locally.

  2. Filter and preview threads

    Search titles, choose frontmatter/timestamp options, and preview clean Markdown.

  3. Download Markdown or ZIP

    Export individual conversations as .md or batch-download all selected threads as a ZIP.

Use cases

Archive one thread

Load conversations.json, pick a title from the list, preview its active branch as markdown and download the .md file.

Batch export to Obsidian

Select several conversations, keep YAML frontmatter enabled and download one ZIP with dated, slugified filenames.

Inspect branches and tool calls

Enable 'Annotate all branches' and 'Include tool calls' to see retried answers and fenced JSON blocks in the preview.

Common mistakes

Mistake:How are regenerated replies and edited conversation branches handled?

Fix:ChatGPT stores threads as a node DAG; by default the converter walks the active leaf branch (current_node) cleanly while preserving fenced code blocks and YAML frontmatter.

Mistake:Does it also support Claude conversation exports?

Fix:Yes. Both OpenAI conversations.json mapping trees and Anthropic Claude chat_messages JSON exports are detected and converted automatically.

Frequently asked questions

Where do I find conversations.json in ChatGPT?

In ChatGPT Settings → Data Controls → Export Data, confirm the email download link, unzip the archive, and drop conversations.json directly into this converter.

How are regenerated replies and edited conversation branches handled?

ChatGPT stores threads as a node DAG; by default the converter walks the active leaf branch (current_node) cleanly while preserving fenced code blocks and YAML frontmatter.

Does it also support Claude conversation exports?

Yes. Both OpenAI conversations.json mapping trees and Anthropic Claude chat_messages JSON exports are detected and converted automatically.

Is my chat archive uploaded to any server?

Never. Even multi-megabyte conversation exports are parsed and packaged into Markdown or ZIP archives entirely inside your browser.