Menu
Install

Guides

How to export ChatGPT and Claude conversations to Markdown

Updated · By exoTools (exochard)

To export everything, use the data export in your account settings. ChatGPT has "Export data" under Data controls, and Claude has an export under Privacy. Both send you a download link by email. To save one chat as a file you can read, an extension is quicker, and Chatshelf does it from the chat page as Markdown or JSON for free.

Chatshelf import and export options screen showing ChatGPT, Claude, AI Toolbox and backup controls.
Chatshelf reads account export ZIPs in Options and writes clean Markdown, JSON, HTML or PDF files directly from any open chat.
Export routeOutput formatTurnaroundBest fit
ChatGPT / Claude account exportSingle ZIP containing raw conversations.json + HTMLEmailed link (minutes to hours)Full legal or archival backup of every historical chat
Chatshelf single chat (Free)Markdown (.md), JSON, print-ready HTML or PDFInstant local downloadSaving one finished conversation into notes or Obsidian
Chatshelf library / folder (Pro)ZIP of folder-grouped Markdown with front matter + manifest.json, one-file Markdown or PDFInstant local downloadMoving a whole topic folder or vault into Markdown notes

Exporting everything from the site

These exports are complete, which is their strength. They are also slow, because you wait for an email, and the result is one large file for the whole account. Finding the one chat you wanted inside it is a job of its own.

Bringing an export into Chatshelf

Every import happens in Chatshelf's options, in the Import section.

Saving one chat with Chatshelf

  1. Open the chat on chatgpt.com, claude.ai, gemini.google.com or grok.com.
  2. Choose "Export…" in the Chatshelf section and pick Markdown, JSON, HTML (a print-ready page) or PDF.
  3. A file downloads named after the chat title, for example tax-deductions.md.

The Markdown file starts with the chat title as a heading, then the site name and the chat address. Each turn follows under a heading, "You" or "Assistant", with the message text. A typical exported file looks like this:

# Tax 2026: software deductions
Source: chatgpt.com

## You
Which software tools qualify as
operating expenses?

## Assistant
Keep invoices and note the business
share for each annual pass...

The JSON file holds the title, site, address, the time it was saved and the list of messages, which suits a script.

All four are free, and the PDF is made on your computer. Chatshelf reads the text that the page shows, so it works the same on ChatGPT, Claude, Gemini and Grok.

What Pro adds

In a zip, a chat you have never opened is listed in the index but has no text, because Chatshelf saves a chat's text when you open it.

Limits

Put your chats on the shelf

Free, with no account. Folders and saved chats stay in your browser.

Chatshelf runs in Chrome, Edge and Firefox on desktop.

More guides