The converter uses the marked library with GitHub Flavored Markdown (tables, task lists, fenced code) to turn Markdown into HTML and shows a sanitised preview as you type.
How to convert Markdown to HTML
- Paste or type Markdown on the left.
- Check the live preview below.
- Copy or download the HTML.
Markdown cheat sheet
| Markdown | Result |
|---|---|
# Heading | H1 heading |
**bold** | bold |
*italic* | italic |
[text](url) | link |
- item | bullet list |
`code` | code |
Frequently asked questions
Is the HTML safe?
The preview is sanitised with DOMPurify. The copied HTML is exactly what marked produces; sanitise it on your server if it comes from untrusted users.
Updated October 2026 · Built and tested by Sharjeel Tahir · How our tools are tested