Markdown to HTML Converter
Convert Markdown to HTML and get the raw source code. Supports full HTML document output, GFM, and file download.
Convert HTML into Markdown. Supports headings, lists, tables, code blocks, and more.
This tool converts HTML — from a web page, a CMS export, or a rich-text editor — into clean Markdown.
It uses the browser’s built-in DOMParser API with no external libraries, so it runs entirely in your browser with nothing to install. It handles all common elements including headings, lists, tables (GFM), code blocks, links, and images. The converted Markdown can be copied to the clipboard or downloaded as a .md file.
This is the reverse direction. The Markdown to HTML Converter turns Markdown into HTML; this tool turns HTML into Markdown.
Headings (h1–h6), paragraphs (p), bold/italic/strikethrough, lists (ul/ol), blockquotes, code blocks (pre/code), GFM tables, links (a), images (img), and horizontal rules (hr) are all supported.
Content inside `<style>` and `<script>` tags is automatically stripped. Only text content and supported structural elements are converted.
By default, only the inner text of unsupported elements is extracted. If you enable "Keep unconvertible tags as raw HTML", the original tag is preserved in the output.