Open editor
Paste to Markdown

Paste to Markdown, formatting kept

Paste to Markdown takes formatted text copied from Google Docs, Word, Notion, a web page or an email and turns it into clean markdown on the spot.

How paste to Markdown works

When you copy formatted text, your browser puts two versions on the clipboard: plain text and HTML. This tool reads the HTML version, so the headings, bold, italic, lists, links, tables and code that you see in the original are carried across. That makes it the quickest way to turn rich text to markdown without saving or exporting a file first. It also works for text copied from Outlook, Gmail and Confluence.

The pasted HTML is cleaned before it is converted. Google Docs and Word add a lot of hidden styling, such as spans with fonts and sizes, and those are removed so the markdown stays short and readable. Images from the web keep their address. Colours, fonts, comments and page layout are dropped, since markdown has no equivalent. You can also type into the paste box to fix a word, and the markdown updates.

If the app you copied from only puts plain text on the clipboard, the tool falls back to working out headings and lists from the text itself. A simple copy and paste is all it takes, and the conversion runs entirely in your browser. For HTML code rather than formatted text, use HTML to Markdown; for a whole shared document, Google Docs to Markdown works from the link.

Why use this Paste to Markdown tool

Works with any source

Google Docs, Microsoft Word, Notion, Confluence, web pages, Gmail and Outlook.

Formatting kept

Headings, bold, italic, lists, links, tables and code blocks convert to markdown.

Instant

The markdown appears the moment you paste.

Private

Conversion happens in your browser.

How to convert pasted text to Markdown

  1. Copy formatted text from any app or web page.
  2. Click the paste box and press Ctrl V.
  3. Copy the markdown, download it, or open it in the editor.

Common uses for formatted text to Markdown

Frequently asked questions

Why does my paste come out as plain text?

Some apps only copy plain text. Try copying from the app's web version, or use Text to Markdown.

Does it keep images?

Images from the web keep their address. Images that only exist in your clipboard cannot be linked and are left out.

Can I convert HTML code?

Yes, paste it into HTML to Markdown.

How do I paste to Markdown?

Copy the formatted text in its app, click the paste box on this page and press Ctrl V (Cmd V on a Mac). The markdown appears on the right straight away, with buttons to copy it, download it or open it in the editor. Press Clear to start again with a new paste.

Which formatting is kept when I copy and paste?

Headings, bold, italic, strikethrough, bulleted and numbered lists, links, tables and code blocks. Fonts, colours, highlights and comments are removed, because markdown cannot show them. Nested lists keep their indentation, and the first row of a table becomes the markdown header row.

Is pasted text sent anywhere?

No. The rich text to markdown conversion happens in your browser and nothing is uploaded. It is free, needs no account, and works on mobile wherever the browser pastes formatted text.

Related markdown tools

See all 41 free markdown tools →