Turn any HTML into clean Markdown
This converter takes HTML in two ways. Paste raw markup into the input pane and click convert, or — the faster path — copy formatted content from any web page, Google Docs or Word document and paste it into the rich-text zone at the top. The browser hands over the underlying HTML of whatever you copied, the tool fills the input pane with it and converts immediately. Either way the output is GitHub-Flavored Markdown: # headings, **bold** and *italic*, links, images, nested lists, task-list checkboxes, pipe tables, blockquotes and fenced code blocks with language hints preserved from language-* classes.
The parser is deliberately forgiving. Real-world HTML — especially what word processors put on the clipboard — is buried in wrapper divs, spans and vendor styles. Unknown elements are treated as transparent containers, scripts and styles are ignored entirely, and whitespace is collapsed the way a browser would render it, so messy input still yields tidy Markdown.
How to convert HTML to Markdown
- Copy formatted text from a page or document, click the paste zone, and paste — or type raw HTML into the input pane and click Convert to Markdown.
- Review the Markdown in the output pane.
- Click Copy Markdown and drop it into your README, wiki, issue or notes app.
Round-tripping between HTML and Markdown
This tool is the mirror of the Markdown to HTML Converter: one direction migrates existing web content, CMS exports or emailed documents into Markdown for version control and plain-text editing; the other renders your Markdown back into HTML for publishing. Together they let content move freely between the format you write in and the format browsers render. If you only need to neutralize markup rather than translate it, the HTML Entity Encoder handles escaping instead.