HTML to Markdown converter
Convert HTML or text copied from a web page into Markdown.
What do you have?
Paste formatted text hereCopy text from a web page or a document, then paste it into this box.
Your content stays on your device. It is never uploaded.
Add some content to see the Markdown here.
- 1Paste formatted text or HTML
- 2It is converted in your browser
- 3Copy it or download a .md file
Nothing is uploaded. It all stays on your device.
Convert HTML to Markdown
Markdown is a plain text format for headings, lists, links and tables. Paste HTML code, or text you copied from a web page or document, and this tool turns it into clean Markdown that you can copy or save as a .md file.
How to use it
- Choose "Formatted text" and paste what you copied, or choose "HTML code" and paste the code.
- Pick the heading style and bullet character you prefer.
- Check the Markdown.
- Copy it, or download it as a .md file.
What is kept and what is not
- Kept: headings, bold, italics, links, lists, tables, code blocks and strikethrough.
- Not kept: colours, fonts, page layout, scripts and styles.
Tips
- Copy only the part of the page you need, so you do not bring menus and footers along.
- Check tables and code blocks in the result.
- Plain text with no formatting? Use Text to Markdown.
- Word file? Use Word to Markdown.
Your data stays private
Your content is processed in your browser. It is never uploaded or stored.
Questions
- How do I convert a web page to Markdown?
- Copy the part of the page you want, choose "Formatted text" and paste it into the box. The Markdown appears straight away. You can also paste HTML code if you have it.
- What is kept?
- Headings, bold, italics, links, lists, tables, code blocks and strikethrough are kept. Colours, fonts, layout and scripts are removed, because Markdown has no way to express them.
- Why do I get extra menu text from a full web page?
- If you copy a whole page, its menus and footers come with it. Copy only the article part to get clean Markdown.
- Are tables converted?
- Yes. Simple tables become Markdown tables. Tables with merged cells may not convert perfectly, so check the result.
- Is my content uploaded?
- No. The conversion runs in your browser, and your content never leaves your device.