DeepSeek to Markdown Converter

This DeepSeek to Markdown converter turns DeepSeek answers and whole chats into clean Markdown. Paste a reply, or upload your DeepSeek data export to save every chat as a .md file. Code, tables and math are kept, and [citation:1] marks are removed or turned into links.

  • Paste or upload your export
  • Stays on your device
Use the copy button under a DeepSeek answer, or select the chat and press Ctrl+C (⌘+C on a Mac). Markdown you paste is cleaned too.

Markdown options
Math formulas
Web citations

How to convert DeepSeek to Markdown

Saving a DeepSeek answer as Markdown takes three steps, on a computer or a phone.

  1. Copy from DeepSeek

    Click the copy button under an answer, or select part of the chat or the whole conversation and press Ctrl+C (⌘+C on a Mac).

  2. Paste it into the converter

    Formatting becomes Markdown as you paste, and [citation:1] marks left in the text are removed.

  3. Copy or download the Markdown

    Choose how math and web citations should look, then copy the result or download it as a .md file.

Example

This sample has 3 [citation:…] marks, two of them side by side. The converter removes all 3 and rewrites its 2 formulas from \( \) and \[ \] to $ and $$.

Convert a DeepSeek answer with [citation] marks

DeepSeek to Markdown converter features

One tool for a single answer or your whole DeepSeek history, with the fixes copy and paste don’t make.

  • 2

    Paste or upload

    Convert one answer, a whole chat, or every chat in your DeepSeek data export.

  • [ ]

    Clean citations

    [citation:1] marks go, or become links to the search results stored in your export.

  • $

    Math that renders

    Formulas become $…$ and $$…$$ for Obsidian and GitHub, or keep their delimiters.

  • .md

    Files or one document

    Download chats as separate .md files in a .zip, or together as one Markdown file.

How to export all your DeepSeek chats to Markdown

DeepSeek exports all your chats at once from its settings. The file converts here, and you pick the chats you want.

  1. Export your data

    On chat.deepseek.com, open Settings, go to data management and export all your chat history.

  2. Download the .zip

    You get a file named like deepseek_data-2026-03-12.zip, with your chats in conversations.json.

  3. Drop it into the converter

    Choose Upload export and drop the .zip, or the conversations.json from inside it. It’s read in your browser, not uploaded.

  4. Pick chats and download

    Search your chat titles, tick the ones you want, and download them as .md files in a .zip, or as one .md file.

What is [citation:1] in DeepSeek answers?

It’s the citation format DeepSeek’s search prompt asks the model to use: `[citation:` and the number of a search result. With search on, DeepSeek shows these as small numbered links, but copied and exported text can keep the raw marks.

LeftoverWhere it comes fromWhat the converter does
[citation:1]An answer written with web searchIn pasted text, removes it with the space before it.
[citation:3][citation:5]A sentence based on several resultsHandled as one group.
[citation:2] in an exportThe same mark, with the search results stored next to the answerTurns it into a link to the result, such as ([Page title](https://…)). Or removes it, with Remove.

What the converter turns into Markdown

Everything DeepSeek shows in an answer has a Markdown equivalent. This is what you get for each part.

In DeepSeekMarkdown you getGood to know
Headings## HeadingEvery level is kept, from # to ######.
Bold, italic, strikethrough**bold**, *italic*, ~~struck~~Asterisks that are part of the text are escaped, so they don’t turn into formatting.
Bulleted and numbered lists- item, 1. itemNested lists keep their indent. Checklists become - [x] and - [ ].
Code blocksA fenced block named with its language, such as pythonBlank lines in the code are kept.
Tables| Tool | Price | and a | --- | rowRight and centre alignment are kept, and a | inside a cell is escaped.
Math (formulas)$x^2$ and $$…$$, or \(x^2\) and \[…\]Your choice. The LaTeX is kept as DeepSeek wrote it.
Links[text](https://…)Only web and email links are kept.
Files you attached*[File: report.pdf]*In an export, where DeepSeek stores the file name.
Who said what## You and ## DeepSeekAdded in every exported chat.

Fix DeepSeek math for Obsidian and GitHub

DeepSeek writes formulas in LaTeX, often as \( … \) inside a sentence and \[ … \] on their own line. Many Markdown apps don’t read every way of writing math. Obsidian and GitHub use dollar signs: $…$ for a formula inside a sentence and $$…$$ for one on its own line.

With $ … $ · $$ … $$ selected, the converter writes all DeepSeek math that way and keeps the LaTeX inside exactly as it was:

  • \( … \) becomes $…$ and \[ … \] becomes $$…$$.
  • Double dollar signs in the middle of a sentence become single ones, $$x$$ → $x$, because Obsidian puts $$…$$ on a line of its own.
  • Prices stay prices. A dollar sign before a number, as in $5, becomes \$5, so the text between two prices isn’t read as a formula. A formula that starts with a digit, such as $2^{10}$, is kept.
  • Code is left alone. Nothing inside code blocks or inline code is changed.

Choose \( … \) · \[ … \] to keep the delimiters as they were, for example when the text is going into a LaTeX document.

What’s included when you convert a DeepSeek export

DeepSeek’s conversations.json stores each chat as a tree: when you regenerate an answer or edit a message, the new version is added as a branch next to the old one. Unlike ChatGPT’s export, it doesn’t record which branch you were looking at, so the converter follows the newest version at each step.

Each chat becomes a Markdown file with its title as the heading and your messages and DeepSeek’s answers under You and DeepSeek. The front matter records the model, such as deepseek-reasoner. DeepThink reasoning and the raw search results are left out, as they aren’t part of the answer you read; search results are used only to turn citation marks into links.

Save DeepSeek chats in Obsidian, Notion or GitHub

Markdown opens in almost any notes app, so a converted chat stays readable long after you stop using DeepSeek.

  • Obsidian: download your chats as a .zip, unzip it into your vault and keep YAML front matter turned on. Each note then starts with its title, dates, model and conversation ID, which Obsidian shows as properties you can search.
  • Notion: use Notion’s import, choose Markdown and pick the .md files. Each file becomes a page.
  • GitHub and VS Code: the files use GitHub Flavored Markdown, with tables, task lists and fenced code, and math in $ form renders on GitHub.

Exported files are named with the chat’s date and title, such as 2026-03-12 Trip ideas.md, so they sort by date.

DeepSeek to Markdown FAQ

What does [citation:1] mean in DeepSeek?

It points to search result 1 that DeepSeek used for the sentence. On screen it’s a small numbered link; in copied text it can stay as raw text. The converter removes it, or links it to the source in an export.

How do I export my DeepSeek chat history?

On chat.deepseek.com, open Settings, go to data management and export all your chats. You get a deepseek_data .zip with conversations.json inside, which you can upload here.

Can I export a single DeepSeek chat?

DeepSeek’s export covers all your chats. To save one, copy it and paste it here, or upload the export and tick only the chat you want.

Does the Markdown include DeepThink reasoning?

No. The converter keeps the answers you read. The reasoning stays in the export file if you need it.

Which answer is kept when I regenerated?

The newest one. DeepSeek stores every regenerated answer, and the converter follows the latest version at each step of the chat.

Why is conversations.json hard to read?

DeepSeek writes the whole file as one long line of JSON, with each chat stored as a tree of messages. Upload it here and each chat becomes a readable Markdown file.

Why don’t DeepSeek formulas show in Obsidian?

DeepSeek often writes math between \( \) and \[ \], and Obsidian reads $…$ and $$…$$. Keep the $ option selected and the converter changes the delimiters.

Does it work with other chatbots?

Yes. Pasting works with formatted text from most sites. ChatGPT’s export looks similar; the [ChatGPT to Markdown converter](tool:chatgpt-to-markdown-converter) explains it step by step.

Are my chats uploaded or saved?

No. The converter runs in your browser. Pasted text and export files are read on your device and never sent to our server.