Markdown to HTML Converter
Write Markdown, get sanitized HTML with a live preview.
How to use
- Type or paste Markdown into the input pane.
- Toggle GitHub Flavored Markdown for tables, task lists, and autolinked URLs.
- Switch between the HTML tab for the raw code and the Preview tab to see how it renders.
- Copy the HTML or download it as document.html.
About this tool
This tool converts Markdown to HTML as you type. It follows CommonMark, with GitHub Flavored Markdown on by default so tables, strikethrough, task lists, and bare URLs convert the way they do on GitHub. The HTML tab shows the exact markup you will get; the Preview tab shows how a browser renders it. What you copy or download is always the raw, unmodified conversion.
The preview is sanitized before rendering, so pasting Markdown that contains script tags or event handlers cannot run anything on this page. Your copied HTML is left untouched, because stripping markup someone typed on purpose is not this tool's call to make. Publish-side sanitizing belongs in the system that publishes.
Everything runs in your browser with no upload, so drafts and internal docs stay private. Common uses: converting a README section for a web page, filling CMS or email template fields that only accept HTML, checking how a Markdown table will actually render, or producing a quick standalone HTML file from notes.
Frequently asked questions
+What is GitHub Flavored Markdown?
GFM is GitHub's extension of standard Markdown. It adds tables, strikethrough, task list checkboxes, and automatic linking of bare URLs. Leave it on unless you specifically need strict CommonMark output.
+Is the HTML output safe to publish?
The HTML output matches your Markdown exactly, including any raw HTML you typed yourself. The live preview on this page is sanitized so nothing can execute here, but if you publish content that came from an untrusted source, run it through a sanitizer in your own pipeline too.
+Why do my single line breaks disappear?
Standard Markdown treats a single newline as a space, and a blank line as a paragraph break. Turn on the line breaks option to convert every single newline into a <br> tag instead.
+Can I convert HTML back to Markdown?
Not with this tool; it converts one direction. If you need the reverse, tell us at hello@automationvault.io and it moves up the build list.
+Does the converter work offline?
Yes. Once the page has loaded, conversion runs entirely in your browser, so it keeps working without an internet connection.