MDUtil

Rich Text to Markdown Converter

Copy formatted text from Google Docs, Word, a web page or an email, paste it here and get clean Markdown. Nothing is uploaded.

Formatted text

# Launch plan

We launch on **12 March**. The full schedule is in the [planning doc](https://example.com/plan).

## Before launch

- Finish the help pages
- *Test sync on slow networks*

| Task       | Owner     |
| ---------- | --------- |
| Help pages | Docs team |
| Sync tests | QA        |
294 characters13 lines

How to convert Google Docs and other rich text to Markdown

  1. Copy formatted text

    Select and copy from Google Docs, Word, a web page, Notion or an email.

  2. Paste it here

    Click the box and press Ctrl+V (Cmd+V on a Mac). The box shows what you pasted.

  3. Copy the Markdown

    Copy the result or download a .md file.

What it handles

Google Docs, cleaned up
The wrapper tags and inline styles of Google Docs are dropped, and its bold, italics, headings and lists become Markdown.
Word lists stay lists
Bullets and numbering pasted from Word become real Markdown lists, nesting included.
Tables
Tables from documents, spreadsheets and web pages become pipe tables, with the first row as the header.
Code from chat answers
Code copied from ChatGPT or a documentation site keeps its language, without the copy button's text.
Links and images
Links keep their addresses, and images keep their addresses and alt text.
Formulas
Formulas copied from ChatGPT and other pages that use KaTeX, and MathML that carries its TeX, turn back into $…$.

Pasted formatting and the Markdown it becomes

The left-hand column is formatted text as it arrives when pasted, including the styled text Google Docs uses for bold, italics and strikethrough. The right-hand column is the converter's own output.

ElementPastedMarkdown
Headings
Results
## Results
Bold and italic

bold and italic

**bold** and *italic*
Strikethrough

old price

~~old price~~
Links
[MDUtil](https://mdutil.com)
Bulleted lists
  • Apples
  • Pears
- Apples
- Pears
Numbered lists
  1. Copy
  2. Paste
1. Copy
2. Paste
Tables
NameScore
Ada92
| Name | Score |
| ---- | ----- |
| Ada  | 92    |
Code font

npm install

`npm install`
Quotes
Quoted text
> Quoted text
Images
Logo
![Logo](https://mdutil.com/logo.svg)

Questions and answers

How do I convert Google Docs to Markdown?

Select the text in the document, copy it and paste it here. For a whole document, Google Docs can also save Markdown itself with File → Download → Markdown (.md).

How do I convert a web page to Markdown?

Select the part of the page you want, copy it and paste it here. Links keep their full addresses. To start from the page's source, use the HTML to Markdown converter.

Can I paste from Word?

Yes. Headings, bold, italics, lists, tables and links come through. For a whole .docx file with its images, use the Word to Markdown converter.

How do I convert a Notion page?

Copy the blocks from Notion and paste them here. Notion can also export a whole page from its menu with Export → Markdown & CSV.

Does it work on a phone?

Yes. Copy the text, then long-press inside the box and choose Paste.

Is my text uploaded anywhere?

No. The conversion runs in your browser, so the text never leaves your device.