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.

| Export route | Output format | Turnaround | Best fit |
|---|---|---|---|
| ChatGPT / Claude account export | Single ZIP containing raw conversations.json + HTML | Emailed link (minutes to hours) | Full legal or archival backup of every historical chat |
| Chatshelf single chat (Free) | Markdown (.md), JSON, print-ready HTML or PDF | Instant local download | Saving 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 PDF | Instant local download | Moving a whole topic folder or vault into Markdown notes |
Exporting everything from the site
- ChatGPT: open Settings, then Data controls, and choose Export data. OpenAI emails you a link to a zip file, which holds your chats in a web page and in a JSON file.
- Claude: open Settings and look for the data export under Privacy. It also sends a download link by email.
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.
- ChatGPT or Claude data export: under "ChatGPT or Claude history", choose the zip from the email, or the conversations file inside it.
- AI Toolbox: in AI Toolbox, open Settings, then Data, and choose Export backup. Pick that .json file under "AI Toolbox or Superpower".
- Superpower: pick the prompt export file under "AI Toolbox or Superpower". Chat files saved as .md or .txt by Superpower or AI Toolbox go under "ChatGPT or Claude history".
Saving one chat with Chatshelf
- Open the chat on chatgpt.com, claude.ai, gemini.google.com or grok.com.
- Choose "Export…" in the Chatshelf section and pick Markdown, JSON, HTML (a print-ready page) or PDF.
- 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
- A zip of a folder, a selection or every saved chat: one folder per Chatshelf folder, one file per chat, an index, and a manifest.json that lists each chat's folder and tags.
- A PDF of a folder, a selection or the whole library.
- All chats as one Markdown file.
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
- The export contains the message text. Check a long chat with images or files before you delete the original.
- It runs in Chrome, Edge and Firefox on desktop.
- The account export from the site remains the better tool when you need a complete archive, for legal or backup reasons.
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.