HTML to Markdown
Convert HTML into Markdown, keeping headings, lists, links and tables.
Convert Markdown into clean, safe HTML.
Markdown to HTML converts the shorthand you write into the markup a browser renders. It covers what people actually use: headings, bold and italic, links and images, ordered and unordered lists including nesting, blockquotes, inline code and fenced code blocks, horizontal rules, and tables with alignment.
A live preview shows the rendered result beside the HTML, so you can check a document before publishing it. The HTML output is indented and readable rather than being a single line, which matters when you are pasting it into a template.
By default, any raw HTML in your Markdown is escaped rather than passed through. That is the safe choice when the Markdown came from someone else, because unescaped Markdown is a direct route to a cross-site scripting hole. You can allow raw HTML when the source is your own, and the tool says plainly which mode you are in.
The markdown to html is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Standard Markdown plus the widely adopted extensions: tables, fenced code blocks, task lists and strikethrough. Platform-specific syntax such as footnotes or admonitions is not included.
Because Markdown from an untrusted source containing a script tag becomes a cross-site scripting vulnerability the moment you render it. Escaping by default means the safe behaviour is the one you get without thinking about it.
The language is written onto the code element as a class, which is what highlighting libraries read. The highlighting itself is done by your site's chosen library, not here.
Colons in the separator row set the alignment, which becomes a style attribute on each cell. Left, right and centre all work.
Yes, by indentation, with ordered and unordered lists nesting inside each other. Mixed indentation of tabs and spaces is the usual cause of a list that does not nest as expected.
No. Conversion runs in your browser, so drafts stay on your device.
If the markdown to html is not quite what you need, these other free tools solve closely related problems.
Convert HTML into Markdown, keeping headings, lists, links and tables.
Pretty-print HTML with consistent indentation, or collapse it back down.
A three-pane editor with a live preview that updates as you type.
Tidy messy pasted text: extra spaces, empty lines, breaks and special characters.
Escape angle brackets and quotes to HTML entities, or decode them back.