How to export ChatGPT, Claude, and Gemini chats to Markdown, Word, and PDF locally
Copy-pasting a long AI conversation usually breaks formatting: code fences disappear, tables flatten into plain text, and browser printouts cut off half the thread. If you use more than one AI assistant, keeping clean local copies gets even harder.
Which format should you pick?
- Markdown (
.md): Best for Obsidian, Notion, GitHub, developers, and re-uploading context to another AI assistant. Keeps headings, lists, tables, and fenced code blocks intact. - Word (
.docx): Best for sharing with teammates, editing in Microsoft Word or Google Docs, and archiving client reports. - PDF: Best for clean, read-only handouts and print-ready records generated via Chrome’s native print engine.
Exporting a single chat (“This Chat”)
- Open any conversation on ChatGPT, Claude, Gemini, DeepSeek, Perplexity, Grok, Mistral, or Copilot.
- Click the getcontextshelf icon in Chrome to open the side panel.
- On the This Chat tab, scan the conversation and check the verified message count.
- Click .md, .docx, or .pdf to save the file directly to your computer.
Exporting your entire history (“All Chats”)
On ChatGPT, Claude (Beta), and Gemini (Beta), switch to
the All Chats tab and press Export all chats. getcontextshelf saves each
conversation into local IndexedDB storage as it goes, so you can close the side panel, keep browsing, and
resume anytime if interrupted. When finished, you get a single ZIP with one Markdown file per chat and an
_INDEX.md summary.
Organizing chats into local folders
You can also save any exported conversation into private Folders inside the extension — all stored locally in your browser with no account and no cloud sync.
Also read: Split conversations.json for Claude Projects · Local-first vs. Cloud AI chat exporters.