Markdown to HTML converter (and HTML to Markdown)

Type or paste Markdown and get HTML with a live preview, or switch direction to turn HTML into Markdown.

  • Free, no sign-up
  • Your files and data stay on your device
  • No watermarks or limits

0 bytes uploaded. Everything happens in this tab.

How to use it

  1. Choose the direction: Markdown to HTML or HTML to Markdown.
  2. Paste your text. The result and the preview update as you type.
  3. Copy the result or download it as a file.

Example

Markdown and its HTML:

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

About this tool

Markdown is a plain-text way to write headings, lists, links and emphasis. Many tools turn it into HTML for websites, emails and documentation. This converter does it instantly and shows a preview so you can check the result before using it.

Markdown to HTML uses a standard CommonMark-style parser. The reverse direction is a simple converter that handles headings, paragraphs, bold, italic, links, images, lists, quotes and code blocks; complex layouts such as tables or styled pages are not preserved.

The preview runs in an isolated frame with scripts disabled, and the HTML you generate is not cleaned of scripts, so sanitize it before publishing text that you did not write yourself. All processing is local.

Frequently asked questions

Is the generated HTML safe to publish?

Markdown can contain raw HTML, including scripts. If the text comes from other people, run the output through a sanitizer first.

Are tables supported?

Markdown to HTML supports standard table syntax. HTML to Markdown does not convert tables.

Which Markdown flavor is used?

A CommonMark-compatible parser with common extensions such as tables and strikethrough.

Is my text uploaded?

No, conversion happens in your browser.

Often used next