ChatGPT to Markdown

Export ChatGPT to Markdown for Obsidian, Git, and Docs

Save conversations as Markdown files for your notes, documentation, or Git repository.

ChatShell exporting a ChatGPT conversation to Markdown

When Markdown is the right format

Notes and knowledge bases

Markdown opens in Obsidian, Notion imports, Logseq, and any text editor, so it fits a personal knowledge base.

Docs and Git

Plain text diffs well, which makes Markdown a good fit for docs-as-code and version-controlled notes.

Reusing answers

Copying a section into a README, wiki, or blog draft is easy because there is no layout to fight.

Not the best for sharing

For people without a Markdown editor, send a PDF or DOCX instead.

How to export ChatGPT to Markdown

  1. Open the ChatGPT conversation you want to keep on chatgpt.com and let it finish loading.
  2. Click the ChatShell icon in the Chrome toolbar. On first use a welcome page explains local processing and asks for your consent before ChatShell reads any ChatGPT data.
  3. In the Current Chat panel, choose Markdown as the export format.
  4. Adjust the options you need in Preferences, such as the language or timestamps, which are paid-only options.
  5. Click export. The file is generated in your browser and downloaded to your usual downloads folder.

What the Markdown file looks like

Each message starts with a bold speaker label, followed by the message text, and messages are separated by a horizontal rule. This is a shortened example:

**🔵User**

How do I reverse a list in Python?

---

**🟢ChatGPT**

Use slicing or the reverse method:

```python
items = [1, 2, 3]
print(items[::-1])
```

---

Timestamps and separator removal are paid options in Preferences. The file name is based on the conversation title.

Common problems and fixes

Math shows as raw dollar signs

Your editor needs LaTeX support. Enable it in Obsidian's settings or use an editor with KaTeX or MathJax.

Images are missing

Turn on the Markdown image option, which is available on the Pro plan, so images are saved next to the .md file.

Emoji labels look odd

The speaker labels use emoji. Search and replace them in your editor if your style guide differs.

The file name is long

The file name comes from the conversation title. Rename the conversation in ChatGPT or the file after export.

When ChatGPT to Markdown is the right format

Docs and wikis

Take AI conversations into internal docs, public documentation, or team playbooks with a format editors already support well.

Research notes

Save prompts and answers in a repo or vault where they can be tagged, versioned, and cross-linked later.

Content drafting

Use Markdown exports as the first clean draft for blogs, release notes, newsletters, or technical writeups.

Automation handoff

Feed structured text into later pipelines without starting from screenshots or manually copied fragments.

Why Markdown travels well after export

Portable structure

Headings, lists, and paragraphs stay easy to move into documentation and note systems.

Developer-friendly text

Markdown works naturally in repos, static sites, docs tools, and knowledge bases without heavy reformatting.

Readable code snippets

Technical chats stay more useful when code can remain in fenced blocks rather than flattened into plain text.

Local-first export

The content is exported in the browser instead of being routed through a separate conversion service.

ChatGPT to Markdown questions

Does the Markdown export keep code blocks?

Yes. Code is exported in fenced code blocks with the language marker, so it can be copied and highlighted correctly.

Will LaTeX math work in Obsidian?

Math is kept as LaTeX source. Obsidian renders it, as do other editors with math support.

Can I export images with Markdown?

Yes, as an optional feature. Referenced images are downloaded next to the .md file instead of being embedded, and the option is part of the Pro plan.

Is Markdown export processed locally?

Yes. The .md file is generated in your browser and conversation content is not sent to ChatShell servers.

Explore other export formats