preview Markdown as you typeDeveloper Tools
Live Markdown editor with GitHub-flavored preview and HTML export.
This Markdown to HTML converter gives you the HTML code for your Markdown, formatted and ready to paste into a CMS or template. It supports GitHub-flavored tables, task lists, and fenced code, and removes anything unsafe.
The Markdown is parsed by marked with GitHub-flavored rules, then cleaned by DOMPurify, which removes scripts, event handlers, and other unsafe markup. The result is pretty-printed with js-beautify. Heading ids are made from the heading text, lower-cased with spaces turned into hyphens, and numbered when two headings match.
# Hello → <h1 id="hello">Hello</h1>.**bold** → <strong>bold</strong>.- [x] Done → a list item with a checked checkbox.| Markdown | HTML |
|---|---|
| # Title | <h1>Title</h1> |
| **bold** | <strong>bold</strong> |
| _italic_ | <em>italic</em> |
| [link](https://example.com) | <a href="https://example.com">link</a> |
| - item | <ul><li>item</li></ul> |
| `code` | <code>code</code> |
| > quote | <blockquote><p>quote</p></blockquote> |
If you want to see how Markdown looks while you write, use the Markdown Preview tool. This converter is for when you need the HTML itself, for example to paste into an email template or a CMS that doesn't accept Markdown.
Paste the Markdown and copy the generated HTML. Turn on "Full HTML document" for a complete page.
Yes. It is sanitized with DOMPurify, so scripts and event handlers are removed.
Yes. GitHub-flavored tables, task lists, strikethrough, and fenced code blocks are supported.
Often used together with the Markdown to HTML Converter.
Live Markdown editor with GitHub-flavored preview and HTML export.
HTML to clean plain text, with lists and links kept.
Beautifies HTML with consistent indentation, including inline CSS and JavaScript.