Skip to content

Markdown to HTML Converter

Convert Markdown to clean HTML with a safe live preview, including tables and task lists.

Otherwise HTML tags in the Markdown are shown as text

Runs in your browser — nothing you enter is sent to a server.

How the Markdown to HTML Converter works

Type or paste Markdown and the HTML updates as you type; switch to Preview to see it rendered. The converter follows GitHub-flavored Markdown, so tables, task lists, strikethrough and fenced code blocks work as they do on GitHub.

For safety, HTML tags written inside the Markdown are shown as text unless you tick Keep raw HTML, and links with unsafe addresses such as javascript: are removed. The preview runs in an isolated frame that can't run scripts.

Markdown cheat sheet

  • # Heading 1 · ## Heading 2
  • **bold** · *italic* · ~~strikethrough~~ · `code`
  • [link text](https://example.com) · ![alt text](image.png)
  • - list item · 1. numbered item · - [x] task
  • > quote · --- (horizontal rule)

Formula

# Title → <h1> · **text** → <strong> · - item → <ul><li>

Examples

Emphasis and code

**bold** and *italic* and `code` → <p><strong>bold</strong> and <em>italic</em> and <code>code</code></p>

An unsafe link

[click](javascript:alert(1)) → <p>click</p> — the link is dropped.

Frequently asked questions

Which Markdown flavor is supported?

CommonMark with GitHub extensions (GFM): tables, task lists, strikethrough and automatic links.

Why are my HTML tags showing as text?

Raw HTML is escaped by default so pasted content can't inject anything unexpected. Tick Keep raw HTML if you trust the source.

Does the HTML include styles?

No — it's clean semantic HTML, ready to paste into a page that has its own styles.

Word Counter

Count words, characters, sentences and paragraphs as you type, with reading and speaking time.

Text Tools

JSON Formatter

Format, validate and minify JSON, with the exact line and column of any error.

Developer Tools

Text Difference Checker

Compare two texts and highlight what was added, removed or changed, line by line or word by word.

Text Tools

Also in Tools for Writers.