About this tool
Paste Markdown and copy the equivalent HTML, ready for a CMS, email template or static page. The output is sanitized, so scripts and inline event handlers never make it through. You can add id anchors to headings for in-page links, and wrap everything in a minimal, styled HTML document.
How to use Markdown to HTML
- Paste or open your Markdown.
- Choose line-break handling, heading anchors and full-page output.
- Copy the HTML or download it as a file.
Frequently asked questions
Why was some of my HTML removed?
The converter strips anything that could run code, such as <script> tags, javascript: links and onclick attributes. Ordinary formatting tags are kept.
How are heading anchors generated?
They follow GitHub's convention: lowercase text with spaces turned into hyphens and punctuation removed, plus -1, -2 for repeated headings.