Markdown to HTML

Write or paste Markdown, see the formatted preview, and copy the HTML.

🔒 Runs in your browser. Nothing you enter is uploaded.
Output

How to use the Markdown to HTML

  1. Type or paste Markdown on the left
  2. Check the live preview, or switch to the HTML tab
  3. Copy the HTML or download it as a file

About this tool

Markdown is a lightweight syntax: # Heading, **bold**, [link](url), and - item for lists. It is used in READMEs, docs, forums and note apps. The converter uses marked (MIT) with GitHub Flavored Markdown enabled, so tables, ~~strikethrough~~, task lists and fenced code blocks work.

The preview is cleaned with DOMPurify, which removes scripts and dangerous attributes. That makes it safe to paste Markdown from anywhere.

Frequently asked questions

Which Markdown flavor is supported?

CommonMark plus GitHub Flavored Markdown extensions: tables, task lists, strikethrough, autolinks and fenced code blocks.

Is raw HTML allowed in the Markdown?

Yes, but it is sanitized. Safe tags are kept, while scripts, event handlers and javascript: links are removed.

Can I convert HTML back to Markdown?

Not with this tool yet. It converts Markdown to HTML only.

Related tools

Updated · Built and maintained by the UtilityBright team · About our tools · Report a problem