What is the Markdown to HTML Converter?
Markdown is the simple formatting syntax used in README files, GitHub issues, documentation sites, Reddit, Discord and many note apps. You write **bold** or # Heading and it becomes formatted text. This Markdown to HTML converter shows a live preview as you type and gives you clean HTML to paste into a website, email template or CMS.
It supports GitHub Flavored Markdown features: tables with alignment, task lists, fenced code blocks with a language class for syntax highlighters, strikethrough and nested lists. For safety, raw HTML inside your Markdown is escaped unless you allow it, and javascript: links are removed.
How to use the Markdown to HTML Converter
- Type or paste Markdown on the left. Click Sample to see the syntax.
- Check the formatted result in the Preview.
- Click Copy HTML, or download a complete HTML file.
Markdown cheat sheet
| You type | You get |
|---|---|
# Heading … ###### Heading | Headings level 1–6 |
**bold**, *italic*, ~~strike~~ | bold, italic, |
[text](https://…) | Link |
 | Image |
- item or 1. item | Bulleted or numbered list |
- [ ] task | Task list checkbox |
> quote | Blockquote |
`code` and ``` fences | Inline code and code blocks |
Frequently asked questions
Which Markdown flavor does this support?
CommonMark basics plus the most used GitHub Flavored Markdown extensions: tables, task lists, strikethrough and fenced code blocks. Footnotes and math are not supported.
Is the generated HTML safe to paste into my site?
By default, HTML tags in the Markdown are escaped and script links are removed, so the output contains only the elements Markdown produces. If you enable raw HTML, review the output before publishing.
How do I add syntax highlighting?
Write the language after the opening fence, such as ```js. The code block gets class="language-js", which Prism, highlight.js and Shiki recognise.