Export to Markdown · 2026-10-09

Export a ChatGPT conversation to Markdown

Clean .md you can paste into Notion, Obsidian or a repo

Markdown is the right export format whenever the chat is going into a tool that ingests plain text: Notion pages, Obsidian vaults, Git repositories, static-site drafts. Headings, lists and code blocks survive the trip, quotes stay quoted, and the file diffs cleanly if you commit it.

With ModelAny, open the conversation on ChatGPT, click the tab on the right edge and choose Markdown to download a .md file—or Copy as Markdown to put the same text on your clipboard for a straight paste. Both work on Claude, Gemini, DeepSeek and other supported sites too.

Export or copy, depending on where it is going

  1. Into a notes app you will keep editing: choose Markdown and save the .md file
  2. Straight into an editor or chat box: use Copy as Markdown and paste
  3. Into a Git repo: save the .md file next to your project and commit it—the diff shows what the model actually changed between sessions

What survives the trip

Speaker turns, headings, ordered and unordered lists, inline code and fenced code blocks are carried into the Markdown structure. Images and uploaded attachments may be omitted or become placeholders. Very long threads should be scrolled fully into view before exporting, because the export covers the turns rendered on the page.

The manual fallback, and why it disappoints

Selecting the whole thread and pressing Ctrl+C copies what the browser shows: it usually flattens headings, keeps or drops formatting unpredictably, and pastes differently into every target app. It is fine for one answer—the per-answer copy button on ChatGPT messages exists for exactly that—but for whole threads the structured export is faster to clean up.

“Export chatgpt to markdown”, “chatgpt to markdown”, “markdown for chatgpt”

Searches for “export chatgpt to markdown”, “chatgpt to markdown”, “save chatgpt conversation as markdown” and “markdown for chatgpt” all describe the same two outcomes: a .md file on disk, or Markdown text on the clipboard. This page covers both—choose Markdown for the file, Copy as Markdown for the clipboard.

The usual reason people want Markdown rather than PDF is what happens next: Markdown is the format that every notes app, static-site generator and code repository can read, edit and diff. If the conversation is going somewhere you will keep working in, Markdown is the format that does not need cleaning up first.

  • Into Obsidian, Notion or a repo → save the .md file (headings become structure, code stays fenced)
  • Straight into an editor or chat box → Copy as Markdown and paste, no intermediate file
  • Into a document someone else will edit → use Word (.docx) instead; Markdown pasted into Word arrives as plain text
  • Into a fixed record for printing or email → use PDF instead; Markdown does not preserve layout

Privacy notes

The Markdown file is generated in your browser and saved locally. Copy as Markdown touches your clipboard only. Neither route uploads the conversation anywhere.

Get the extension

Install from the official store for your browser. Drafts, settings, history and memory stay on your device; prompts go only to the AI sites you select.

Chrome Web Store · Microsoft Edge Add-ons

Related pages

Frequently asked questions

Does the exported Markdown keep code blocks?

Yes—code is written into fenced code blocks so syntax highlighting in Notion, Obsidian or GitHub keeps working. Inline code keeps its backticks.

Can I get a .md file instead of copying to the clipboard?

Yes. Choose Markdown in the edge toolbar and the browser downloads a .md file; use Copy as Markdown only when you are pasting directly into another tool.

How do I move a ChatGPT chat into Obsidian or Notion?

Export the conversation to Markdown, then drop the .md file into your Obsidian vault or import it into Notion. Headings become note structure and code blocks stay intact, so cleanup is usually minimal.

Export chats as clean Markdown

Install ModelAny, open a supported chat, and pick Markdown or Copy as Markdown on the right edge. Free; no API key. Chrome Web Store · Microsoft Edge Add-ons

Install extension
Install extension