MDUtil

Markdown to Rich Text Converter

Paste Markdown or an AI answer and copy it as formatted text. Headings, lists, tables and code keep their look when you paste into Google Docs, Word, Gmail or Outlook.

Markdown

542 characters28 lines

Formatted text

How to copy Markdown as formatted text

  1. Paste Markdown

    Paste text, open a .md file, or copy an answer from ChatGPT, Claude or Gemini with its copy button.

  2. Copy formatted text

    Click Copy formatted text. The panel on the right shows what will be pasted.

  3. Paste anywhere

    Paste into Google Docs, Word, Gmail, Outlook, Notion or any editor that keeps formatting.

What it handles

Formatting that survives pasting
Every element carries its own styles, because Gmail, Outlook and Google Docs drop style sheets and class names when you paste.
Tables stay tables
Markdown tables paste as tables with borders and a shaded header row, and keep their column alignment.
Code with colors
Code blocks get a monospaced font, a light background and syntax colors that survive the paste.
Plain text included
A plain-text version goes onto the clipboard as well, for apps that accept only text.
Formulas as TeX
Formulas paste as $…$ TeX, which reads the same everywhere. For equations you can edit, use the Markdown to Word converter.
AI answers tidied
Citation marks such as 【4†source】 are removed and ChatGPT's \[ … \] formulas are fixed before copying.

Markdown syntax and what gets pasted

The styles are written onto each element, so they survive pasting into Google Docs, Word, Gmail and Outlook.

ElementMarkdownWhen pasted
Headings
## Results
Bold headings in a larger size
Bold, italic, strikethrough
**bold**, *italic*, ~~old~~
Bold, italic and struck-through text
Links
[MDUtil](https://mdutil.com)
Blue, underlined links you can click
Lists
- Apples
  - Green apples
1. First step
Bulleted and numbered lists with their nesting
Task lists
- [x] Done
- [ ] To do
☑ and ☐ in place of the bullet
Tables
| Name | Score |
| :--- | ----: |
| Ada | 92 |
Tables with borders, a gray header row and the column alignment kept
Inline code
`npm install`
Monospaced text on a light gray background
Code blocks
```python
print("Hello")
```
A gray block with syntax colors
Formulas
$E = mc^2$
The formula's TeX between dollar signs, such as $E = mc^2$; Google Docs, Gmail and Outlook cannot show pasted math
Quotes
> Quoted text
Gray text with a line on the left
Images
![Chart](https://example.com/chart.png)
Images, no wider than the text
Horizontal rules
---
A thin gray line

Questions and answers

How do I paste Markdown into Google Docs with formatting?

Paste the Markdown here, click Copy formatted text and paste into the document. Google Docs can also read Markdown itself: turn on Tools → Preferences → Enable Markdown, then choose Paste from Markdown from the right-click menu.

How do I copy a ChatGPT answer into Word with formatting?

Click the copy button under the answer, paste it here, click Copy formatted text and paste into Word. For formulas that stay editable, download a .docx from the Markdown to Word converter instead.

Why do formulas paste as $…$?

Google Docs, Gmail and Outlook cannot display MathML, the web's format for math, so formulas are pasted as TeX between dollar signs, which reads the same everywhere.

Does it work in Gmail and Outlook?

Yes. The styles sit on each element, and both keep them when you paste into a new message. Long code lines wrap inside the message.

Why does the pasted text use my document's font?

Body text carries no font of its own, so it takes on the font where you paste it, while headings, code and tables keep their styling.

Is my text uploaded anywhere?

No. The conversion and the copy happen in your browser; the text never leaves your device.