How to export AI chats from ChatGPT, Claude and Gemini
No big AI assistant saves one conversation as a file. What ChatGPT, Claude and Gemini's exports give you, and how to get one chat out as Markdown or PDF.
23 October 2026 · 4 min read
A good conversation with an AI assistant is worth keeping: the plan you worked out, the code it wrote, the explanation you'll want again next month. Getting that one conversation out as a file is harder than it should be.
Here's what ChatGPT, Claude and Gemini each give you, and how to get a single chat out cleanly.
What the built-in exports give you
ChatGPT has a data export in its settings. It emails you a download link for your whole account, every conversation at once in HTML and JSON, not the one you're looking at. There's no button to save a single conversation as Markdown.
Claude also has a data export, emailed as a download link, and it too covers your whole account rather than one conversation as Markdown. Each reply has its own copy button.
Gemini has a Share and export menu on each reply. It sends that one reply to Google Docs or Gmail, not the whole conversation, and not as Markdown.
So all three can give you everything, or one reply at a time. None gives you the one conversation you want, as a file.
The manual way
For a one-off, copy it by hand. Copy each of your messages and each reply in turn, and paste them into a document. The copy buttons on replies keep their formatting, which helps with code blocks.
It works. For a long conversation, or one you do every week, it's slow and easy to get out of order.
Markdown or PDF?
- Markdown (a
.mdfile) is plain text with light formatting. It keeps headings, lists, tables and code blocks, opens in any editor, and drops straight into notes apps such as Obsidian or Notion. Choose it if you'll reuse or edit the text. - PDF is for reading and sharing as-is. Choose it if you're sending the conversation to someone or filing it.
One click: an export button on the page
A small tool can add an Export to Markdown button to the conversation page, which
downloads the open conversation as a .md file with your messages and the replies as
separate sections. For PDF, a tool can open a clean print view of just the messages, so
Chrome's Save as PDF gives you the conversation without the sidebar, message box and
buttons around it.
There's a guide for each, with a request to paste into ScriptPanda on that site:
- Export a ChatGPT conversation to Markdown
- Export a Claude conversation to Markdown
- Export a Gemini conversation to Markdown
- Save a ChatGPT conversation as a PDF
Each tool is built for that site, so add one per assistant you use. Once it's there, the button is on every conversation you open on that site.
Things worth asking for
Once the basic button works, a few details make the file nicer to keep:
- A useful filename: "Name the file after the conversation's title and today's date."
- Code kept as code: "Keep code blocks fenced, with their language."
- Just part of it: "Add a checkbox to each message and export only the ones I tick."
Each is a change to the same tool: you ask, and it's updated.
What this won't do
- The button exports the conversation open in front of you. It doesn't bulk-download your history; for that, use the assistant's own data export.
- When an assistant redesigns its page, the button may need fixing. Open a conversation and ask ScriptPanda to fix it for the page as it is now.
The short version
The built-in exports give you your whole account, or one reply at a time. For a single conversation, copy it by hand once, or add an export button to the page and get a Markdown or PDF file in one click every time.
Keep reading
- Auto-refresh vs watching a page for changes in ChromeAuto-refresh only helps if you notice what changed. When reloading is enough, and how to make a page tell you when the part you care about changes.
- Userscripts not working in Chrome? Turn on Allow User ScriptsUserscripts that install fine but do nothing in Chrome usually need one switch: Allow User Scripts, on the extension's details page. Here's where it is.
- How to clean up your LinkedIn, X and Reddit feedsLinkedIn won't turn off its feed, X won't hide trends, Reddit charges to remove ads. What each site lets you change, and how to hide the rest.