1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert Rich text to Markdown

Select and copy formatted content from anywhere, paste it into the left editor and take the Markdown from the tab on the right. Colours and fonts are dropped, structure is kept.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Editor

DocsWordGmailNotionMarkdown
0 words
Ready · LocalPaste here from Google Docs, Word, Gmail, Notion
02

Live Output

Markdown
SyncedEdit the code here; the editor on the left updates itself
0 characters
Every change is processed right in your browserUTF-8 · by xuanhieu.org

When you need to convert Rich text to Markdown

Rich text is what you get when you copy from a web page, an email, Notion or an online editor: the words plus HTML and styles riding on the clipboard. Pasted straight into a place that only takes Markdown, the formatting is lost, or you drag a pile of styles along. The tool reads that HTML, infers bold, italic, underline, code and super or subscript from tags or styles, and writes Markdown from the structure.

How to do it

  1. Select the content at the source and copy it (⌘C or Ctrl+C).
  2. Paste into the Editor editor on the left (⌘V or Ctrl+V). If the clipboard only has plain text, the tool pastes plain text.
  3. Open the Markdown tab on the right (selected on this page). If a word looks wrong, fix it right in the left editor.
  4. Press Copy result to paste into wherever Markdown is needed, or Download file to get an .md.

A real example

The example is an offer notice with a heading, bold red text, italics, a discount code in a code tag and a list. The red colour and Georgia font disappear, while bold, italic, code, the list and the link are kept.

Input · Rich text · HTML on the clipboard

<h2 style="font-family:Georgia,serif;color:#222">December offer</h2><p style="margin:0 0 8px">Get <strong style="color:#c00">20% off</strong> orders over <em>$25</em>. Code: <code style="background:#eee">SAVE20</code>.</p><ul style="padding-left:20px"><li>Valid until 31 December</li><li>Cannot be combined with other offers</li></ul><p><a href="https://example.com/offer" style="color:#0a66c2">See the details</a></p>

Result · Markdown

## December offer

Get **20% off** orders over *$25*. Code: `SAVE20`.

- Valid until 31 December
- Cannot be combined with other offers

[See the details](https://example.com/offer)

Options worth changing

Italic marker
Pick asterisks or underscores for italics. Underscores switch to asterisks automatically when the text sits inside a word.
Bullet character
Change the default hyphen to an asterisk or plus sign if the destination demands it.
Hard line break
Choose how a line break inside one paragraph is written: two spaces, a backslash or a br tag.

Common problems

Limits

Frequently asked questions

How is rich text different from HTML?

Rich text is the HTML with styles that sits on the clipboard when you copy. The Rich text tab of the tool also writes that kind, so you can paste back into Docs, Word, Gmail or Notion.

Can I paste from Notion or Gmail?

Yes. The tool recognises common sources such as Word, Google Docs, Gmail and Notion, but for Markdown the result follows the structure, not the source.

Are Vietnamese diacritics kept?

Yes. Text is handled as Unicode and stays as it is.

Is the content sent to a server?

No. It is processed entirely in your browser.

Related conversions

1xA2Z · Guide

Document statistics

Most frequent words