Guides ·
Export Claude chat to Markdown
To export a Claude chat to Markdown, open the thread on claude.ai, open Chat Transfer, leave the format on Markdown (the default), and click Export — you get one .md file named after the chat title and date, with a YAML header and a ### User / ### Assistant heading for every turn, built on this device without an email link.
Version 0.4.0 is live on the Chrome Web Store. Export runs only when you click it. Soft Auto-Send stays opt-in and default off. Add to Chrome
Claude’s built-in export vs a one-thread Markdown file
Claude has an official data export, and it is the right tool when you want everything. According to Anthropic’s help article Export your Claude data, you go to Settings > Privacy > Export data on the web app or Claude Desktop, a download link is emailed to your account address, you must be signed in to use it, the link expires 24 hours after delivery, and exports cannot be started from the iOS or Android apps. Team and Enterprise members need an owner to turn on member exports first. That flow returns your whole account, not a readable note for one conversation.
| Need | Claude Settings > Privacy > Export data | Chat Transfer Export (Markdown) |
|---|---|---|
| Scope | Whole account (conversation data + user data) | The Claude thread open in this tab — or a slice of it |
| Delivery | Emailed link, valid 24 hours, sign-in required (source) | File saved from the extension right away; nothing is emailed |
| Output | Account data archive | .md with YAML frontmatter and ### Role headings (also Plain, JSON, CSV, HTML, PDF, State, ZIP) |
| Mobile | Not from the iOS / Android apps | Desktop Chrome only (it is a Chrome extension) |
| Re-import into Claude | Anthropic says exports can’t be imported into another personal account | No import into Claude either — but you can Continue the archive in ChatGPT, Gemini, Grok, or a new Claude chat |
Rule of thumb: use Claude’s export for a full backup or account move-out; use a one-thread Markdown export when you want a single conversation in Obsidian, a repo, a ticket, or another AI.
What the Markdown file looks like
This is the shape Chat Transfer 0.4.0 writes, taken from the extension’s own formatter (toMarkdown + exportYamlFrontmatter), with placeholder text:
---
title: "Refactor auth middleware - Claude"
source: "Claude"
url: "https://claude.ai/chat/…"
date: 2026-10-25
turnCount: 6
---
### User
Can you refactor this middleware so the token check runs once?
### Assistant
Here is a version that caches the decoded token…
- Frontmatter keys:
title(tab title),source(Claude / ChatGPT / Gemini / Grok),url(the tab URL),date(export day, UTC,YYYY-MM-DD), andturnCount. Tools that read YAML properties, such as Obsidian properties, can pick these up as note metadata. - Turns: each turn starts with
### Useror### Assistant, then the body. Fenced code blocks are left intact. ASystemturn is only included when you tick Keep system prompt. - Attachments: files or images Claude showed that can’t be exported become one line like
[attachment not exported: …]. File bytes are never invented. - Filename:
{chat-title}-{YYYY-MM-DD}.md. If the title is empty it falls back to the site name, thencrosschat-hop-{site}-{date}.md. Content modes add-user,-code, or-assistantbefore.md.
Steps: export one Claude chat to Markdown
- Add Chat Transfer from the Chrome Web Store (0.4.0) and pin it.
- Open the Claude conversation on claude.ai and wait until the last reply finishes streaming.
- Long thread? Click Scroll & extract. It scrolls toward the bottom until the turn count stops growing or 12 passes are done, then reads the visible turns. It never clicks Send.
- Under Copy & export, keep Markdown selected. Pick which turns (all, from turn N, or selected) and a Content mode (see below).
- Click Export. The filename preview shows what you’ll get. Export also saves the thread to your on-device Library so you can search it later.
Faster path: Alt+Shift+C copies the full chat as Markdown to your clipboard (no handoff wrapper, ignores Content mode). Paste it into any editor and save as .md. You can rebind it at chrome://extensions/shortcuts.
Pick a Content mode before you export
| Mode | What lands in the .md | YAML header | Good for |
|---|---|---|---|
| Full | Every User and Assistant turn | Yes | Notes, archives, sharing the whole thread |
| User-only | Only your prompts (-user.md) | Yes | Building a prompt library from a good session |
| Assistant-only | Only Claude’s replies (-assistant.md) | Yes | Turning answers into docs or a README draft |
| Code-only | Only fenced code blocks (-code.md) | No | Pulling every snippet out of a coding chat |
Need more than one file? ZIP packs archive.json (the CT Memory record) plus transcript.md, and adds images only when their bytes were already in the extract. HTML and PDF are there when the reader doesn’t use Markdown.
Then continue it somewhere else (optional)
A Markdown export is often the first step of a hop. From the same popup you can open ChatGPT, Gemini, Grok, or a new Claude chat and paste the thread as Full, Last N (default 10; presets 4, 8, 16), or last assistant only. If the paste goes over 12k characters, the composer gets a shorter slice and the full unwrapped Markdown downloads as {title}-full-{date}.md for manual attach. Paste never presses Send. Soft Auto-Send is opt-in (default off) and asks “Send this hop now?” once after a successful paste. Guides: Hop Claude to ChatGPT, Hop Claude to Gemini, Hop Claude to Grok, Soft Auto-Send.
Local only
Chat Transfer reads the page you already have open and formats the file inside the extension. There is no Chat Transfer backend, the marketing site never receives your chat text, and host access is limited to Claude, ChatGPT, Gemini, and Grok domains. Export needs no downloads permission. Details: privacy policy and Local only.
Limits worth knowing
- It exports what is rendered in the tab. Turns Claude hasn’t loaded yet need Scroll & extract first.
- Uploaded files, images, and artifacts are not rebuilt — you get an
[attachment not exported: …]line instead. - It is one thread at a time. For your whole history, use Claude’s Settings > Privacy export.
- An empty new chat has nothing to export; Copy and Export stay off until extract finds turns.
FAQ
Can I export a single Claude conversation to Markdown?
Yes. Open that conversation, pick Markdown in Chat Transfer, and click Export. You get one .md file for that thread only.
Does Claude have a built-in Markdown export for one chat?
Claude’s documented export is account-wide: Settings > Privacy > Export data, delivered by an email link that expires after 24 hours (Anthropic help). Chat Transfer covers the one-thread case.
Will code blocks survive?
Yes. Fenced code is kept as-is. Use Code-only if you want just the code.
Is my chat uploaded anywhere?
No. Formatting happens in the extension on this device. Library copies stay in chrome.storage.local (large bodies may use IndexedDB).
Sources
- Export your Claude data — Claude Help Center (Settings > Privacy, emailed link, 24-hour expiry, no mobile export)
- Obsidian Help — Properties (YAML frontmatter as note metadata)
- CommonMark (Markdown spec)
- Chat Transfer on the Chrome Web Store
- Chat Transfer privacy policy
Related
Product · Guides · Export ChatGPT chat to Markdown · Export Gemini chat to Markdown · Search Claude history locally · Export ChatGPT to another AI · Hop Claude to ChatGPT · Hop Claude to Gemini · Hop Claude to Grok · Soft Auto-Send · How to use · Local only · Privacy · Add to Chrome