About Rich Text To Markdown
Copy part of a Word document, a Google Doc, an e-mail or a web page, paste it into the box, and the formatting comes across as Markdown: headings, bold and italic, numbered and bulleted lists (nested ones too), links, pictures and tables.
Word and Google Docs put a lot of private markup on the clipboard. It is tidied away first: bold set through a style becomes **bold**, the paragraphs Word uses for list items become a real list, and Google redirect links point straight at their target.
How it works
- When you paste, the tool reads the HTML version of what you copied from the clipboard, not just the plain text, and shows the plain text in the box so you can see what arrived.
- The HTML is read into an inert document: nothing in it runs or loads. Word and Google Docs markup is turned into plain headings, emphasis and lists, then DOMPurify removes scripts, forms and frames.
- The Turndown library writes the Markdown. With GitHub Flavored Markdown on, tables become pipe tables and struck-through text becomes ~~strikethrough~~.
Questions
Why did my paste come out as plain paragraphs?
The clipboard held no formatting. That happens when you copy from a plain-text editor, or when a program puts only text on the clipboard. Copy from the document itself, in a desktop browser or the word processor, and paste again.
What happens to pictures?
A picture with a web address becomes a Markdown image pointing at it. A picture pasted from Word usually points to a temporary file on the computer it was copied from, which nobody else can open, so it is left out and the tool tells you. To get the pictures out of a Word file, open the .docx file in the DOCX to Markdown converter instead.
Does the pasted content go anywhere?
No. It is converted in your browser and kept only in this page. Nothing is shown as a web page either, so pictures and links in what you paste are never loaded.
Is there a limit to how much I can paste?
Up to 8 MB of formatted content at a time, measured as the HTML the clipboard holds, which is several times larger than the text you see. That covers documents of a hundred pages or more.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.