Rich Text Converter
Paste rich text and convert it to clean Markdown, pure HTML, or plain text.
Do you want to save the converted result as a file?
How to Use
- Copy rich text content from any source (e.g., a webpage, Word, or an email) and paste it into the Rich Text Input area.
- Select the desired output format: Markdown for portable plain text, Pure HTML for clean semantic markup, or Plain Text for a stripped-down readable version.
- Click Convert to generate the result. The status line below will show progress and any notifications.
- Use Copy to put the result on your clipboard, or Save as File to download it as a local file.
- Click Clear to reset both input and output areas for a new conversion.
Supported Elements
| Element | Markdown Output | HTML Output |
|---|---|---|
| Heading 1-6 | # Heading | <h1>Heading</h1> |
| Paragraph | text | <p>text</p> |
| Bold | **text** | <strong>text</strong> |
| Italic | *text* | <em>text</em> |
| Underline | (preserved in HTML) | <u>text</u> |
| Strikethrough | ~~text~~ | <del>text</del> |
| Inline Code | `code` | <code>code</code> |
| Code Block | ```code``` | <pre><code>...</code></pre> |
| Link | [text](url) | <a href="url">text</a> |
| Image |  | <img src="url" alt="alt"> |
| Unordered List | - item | <ul><li>item</li></ul> |
| Ordered List | 1. item | <ol><li>item</li></ol> |
| Blockquote | > quote | <blockquote>quote</blockquote> |
| Horizontal Rule | --- | <hr> |
| Line Break | two trailing spaces | <br> |
Frequently Asked Questions
Does the HTML output contain any id or style attributes?
No. The tool strictly sanitizes the HTML output, removing all id, class, style, and any other non-essential attributes. Only the structural tags and a minimal set of semantic attributes (such as href for links, src/alt for images) are preserved.
Is my pasted content sent to a server?
No. All conversion happens entirely in your browser using Turndown.js and a custom DOM sanitizer. No data is transmitted to any external server. Your content remains completely private.
How are complex elements handled?
Tables and nested lists are converted to their nearest equivalent in the chosen format. Complex formatting like custom colors or fonts is intentionally stripped to produce clean, portable output that follows the standard Markdown or HTML specifications.
Can I edit the input after pasting?
Yes. The input area is a full contenteditable rich text editor. You can type, paste, and format text directly. Click Convert at any time to generate the latest output from the current content.
What file format is used when saving?
If you choose Markdown format, the file is saved as a .md file. If you choose HTML format, it is saved as a .html file. If you choose Plain Text format, it is saved as a .txt file. The download happens entirely in your browser without any server interaction.
What does the Plain Text format output?
The Plain Text format strips all HTML tags, Markdown syntax, and styling, leaving only the readable text content. Block-level elements such as headings, paragraphs, and list items are separated by blank lines for readability. Inline code, links, and images are converted into descriptive text. Special characters are properly decoded and escaped so the output is a clean, portable text file.