Markdown to HTML Converter

Write Markdown, see the preview and copy clean HTML.

🔒 Runs entirely in your browser. Nothing you enter is uploaded or stored.

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

  1. Type or paste Markdown on the left. Click Sample to see the syntax.
  2. Check the formatted result in the Preview.
  3. Click Copy HTML, or download a complete HTML file.

Markdown cheat sheet

You typeYou get
# Heading … ###### HeadingHeadings level 1–6
**bold**, *italic*, ~~strike~~bold, italic, strike
[text](https://…)Link
![alt](image.png)Image
- item or 1. itemBulleted or numbered list
- [ ] taskTask list checkbox
> quoteBlockquote
`code` and ``` fencesInline 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.