HTML to Markdown Converter
Paste HTML from a web page, blog or email and get clean Markdown for GitHub, docs or notes.
How to use the HTML to Markdown Converter
- Paste HTMLPaste HTML code, or open a .html file. Scripts and styles are removed automatically.
- Pick a styleChoose - or * for bullets, and inline links or numbered reference links at the end.
- Copy or downloadCopy the Markdown or download it as a .md file for GitHub, Notion, Obsidian or your docs.
Example
<h2>Steps</h2> becomes ## Steps, and <a href="…">about page</a> becomes [about page](…).
The sample converts to Markdown with 2 headings, 1 link, 1 image, a nested list, a quote, a code block and a 3-row table.
Frequently asked questions
Which HTML elements are converted?
Headings, paragraphs, bold, italic, strikethrough, links, images, line breaks, ordered and nested lists, block quotes, code and code blocks (with the language), horizontal rules and tables. Other tags are dropped but their text is kept.
Are tables supported?
Yes. Tables become GitHub-style Markdown tables, with the first row used as the header. Merged cells are not supported in Markdown, so they become single cells.
Can I convert a whole web page?
Yes. Open the page, view its source, copy it and paste it here, or save the page as .html and open the file. Menus and footers are converted too, so you may want to remove them afterwards.