Copilot to Markdown Converter
This Copilot to Markdown converter turns Microsoft Copilot answers into clean Markdown. Paste a reply, or upload the activity history you export from your Microsoft privacy dashboard to save every chat as a .md file. Tables, code and math are kept, and [^1^] reference marks become links.
- Paste or upload your history
- Stays on your device
No file chosen yet.
How to convert Copilot to Markdown
Saving a Copilot answer as Markdown takes three steps, in the Copilot app or at copilot.microsoft.com.
-
Copy from Copilot
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).
-
Paste it into the converter
Formatting becomes Markdown as you paste. Reference marks become links to their sources, and “You said” and “Copilot said” lines become You and Copilot headings.
-
Copy or download the Markdown
Choose whether to keep source links and how math should look, then copy the result or download it as a .md file.
This sample has 2 reference marks, [^1^][1] and [^2^][2], and the source lines under the answer. The converter turns both marks into links to those sources, removes the source lines and turns “Copilot said” into a heading.
Copilot to Markdown converter features
One tool for a single answer or all your Copilot chats, with the clean-up copy and paste don’t do.
-
[^1^]
Marks become links
Reference marks turn into links to their sources, or go, if you prefer plain text.
-
2
Paste or upload
Convert one answer, a whole chat, or every chat in your Copilot activity history.
-
$
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.
What [^1^] means in Copilot answers
It’s how Copilot marks a source: a number between carets and square brackets, such as `[^1^]`. On screen it becomes a small numbered link, but in copied text it can stay as it is, sometimes followed by `[1]` and a list of `[1]: https://…` lines under the answer.
| Leftover | What it is | What the converter does |
|---|---|---|
[^1^] | A reference to source 1 | Turns it into a link to that source when the source list is pasted too. Otherwise removes it. |
[^1^][1] | The same reference, followed by a link to the list | Handled the same way, as one mark. |
[1]: https://… "Title" | The source list under the answer | Used for the links, then removed. |
| “You said” and “Copilot said” lines | Hidden labels copied with a selected chat | Turns them into ## You and ## Copilot headings. |
Choose Remove under Web citations to drop the source links as well and keep only the text.
How to export your Copilot chat history to Markdown
Copilot has no export button in the chat, but your Microsoft privacy dashboard exports your whole activity history as a .csv file, which converts here.
-
Open the privacy dashboard
Sign in at account.microsoft.com/privacy with the Microsoft account you use for Copilot.
-
Export your Copilot activity
Go to Privacy → Empower your productivity → Copilot → Your Copilot app activity history → Copilot apps and choose Export all activity history. A .csv file downloads straight away.
-
Drop it into the converter
Choose Upload export and drop the .csv file. It’s read in your browser, not uploaded.
-
Pick chats and download
The converter groups the rows into chats. Search the titles, tick the ones you want, and download them as .md files in a .zip, or as one .md file.
What the converter turns into Markdown
Everything Copilot shows in an answer has a Markdown equivalent. This is what you get for each part.
| In Copilot | Markdown you get | Good to know |
|---|---|---|
| Headings | ## Heading | Every 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. item | Nested lists keep their indent. Checklists become - [x] and - [ ]. |
| Code blocks | A fenced block named with its language, such as python | Blank lines in the code are kept. |
| Tables | | Tool | Price | and a | --- | row | Right 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 Copilot wrote it. |
| Links | [text](https://…) | Only web and email links are kept. |
| Numbered sources | ([Site](https://…)) after the sentence | Or removed, if you choose Remove. |
| Who said what | ## You and ## Copilot | Added from “You said” and “Copilot said”, and in every exported chat. |
Fix Copilot math for Obsidian and GitHub
Copilot writes formulas in LaTeX, as \( … \) and \[ … \] or between dollar signs. 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 Copilot 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 your Copilot activity history
The activity history is a table with one row for each message: the chat it belongs to, the time, the author and the message. The converter puts the rows back together:
- Rows are grouped by chat and sorted by time, so each chat reads from your first question to Copilot’s last answer.
- Your messages and Copilot’s answers go under You and Copilot. Copilot’s answers are Markdown already, and they’re cleaned like a paste.
- Each chat is named after its name in the file, or after your first message when the file has no chat names.
Microsoft says Copilot keeps conversations for 18 months by default, so older chats may not be in the file. Images aren’t included in the Copilot apps history.
Save Copilot chats in Obsidian, Notion or GitHub
Markdown opens in almost any notes app, so a converted chat stays readable long after you stop using Copilot.
- 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.
Copilot to Markdown FAQ
What does [^1^] mean in Copilot?
It’s Copilot’s mark for a source, here source number 1. On screen it’s a small link, but copied text can keep it. Paste the answer with its source list and the converter turns the mark into a link.
How do I export my Copilot chat history?
Open the Microsoft privacy dashboard, go to Privacy → Empower your productivity → Copilot → Your Copilot app activity history → Copilot apps, and choose Export all activity history. You get a .csv file you can upload here.
Can I export a single Copilot conversation?
The privacy dashboard exports all your activity at once. To save one chat, copy it and paste it here, or upload the .csv and tick only the chat you want before you download.
How long does Copilot keep my chats?
Microsoft says Copilot stores conversations for 18 months by default, and you can delete them sooner. Export your history if you want to keep it longer.
Does it work with Microsoft 365 Copilot Chat?
Pasting works with answers from any Copilot. The upload reads the activity history .csv; if your work account’s file has different columns, paste chats instead.
Why do Copilot answers look messy in Word?
Copilot writes Markdown, and Word doesn’t read it on paste. Convert the answer here first, then open the .md file in an app that renders Markdown.
Is this for GitHub Copilot too?
This page is for Microsoft Copilot. For Copilot Chat in VS Code or on GitHub, use the [GitHub Copilot chat to Markdown converter](tool:github-copilot-to-markdown-converter).
Does it work with other chatbots?
Yes. Pasting works with formatted text from most sites. For ChatGPT, the [ChatGPT to Markdown converter](tool:chatgpt-to-markdown-converter) also reads its data export.
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.
Sources and references
- Manage your Copilot activity history in the privacy dashboard, Microsoft Support
- Copilot privacy and controls, Microsoft
- Phantom References in Microsoft Copilot, Zenity Labs
- GitHub Flavored Markdown Spec, GitHub
More documents tools
- Convert ChatGPT to Markdown Converter Turn ChatGPT answers or your whole export into clean Markdown files. Open tool
- Convert GitHub Copilot Chat to Markdown Converter Turn Copilot Chat answers or exported VS Code sessions into clean Markdown. Open tool
- Convert Perplexity to Markdown Converter Turn Perplexity answers into Markdown, with [1] citations as links or removed. Open tool
- Count Line Counter Count total, blank and duplicate lines in text, lists, code or CSV. Open tool