HTML to Markdown Converter
Convert web page markup into clean Markdown.
HTML
Markdown
About the HTML to Markdown converter
Copying content out of a web page and into a Markdown file usually means stripping tags by hand. This converter does it structurally: it parses the HTML and re-emits the equivalent Markdown.
Scripts, styles and other non-content elements are dropped entirely rather than leaving their contents in the text.
What survives the trip
Headings, paragraphs, bold and italic, strikethrough, inline code, code blocks with their language hint, blockquotes, ordered and unordered lists including nesting, links, images, horizontal rules and tables.
Layout elements like `div` and `section` are unwrapped — their children come through, the wrapper does not.
What cannot survive
Markdown has no syntax for colours, fonts, column layouts, or arbitrary attributes. Anything expressed purely through CSS is lost, which is usually the point of converting.
Complex tables with merged cells flatten into a plain grid, because Markdown tables cannot represent a rowspan.
Frequently asked questions
Can I paste a whole saved web page?
Yes. Everything outside the body, along with scripts and styles, is discarded automatically.
Why did my nested list flatten out?
Nesting is preserved when the inner list sits inside an li element. Some page builders emit sibling lists instead, which have no nesting to detect.