Markdown to HTML

Type GitHub-flavoured Markdown on the left and watch the rendered HTML appear on the right. Switch the right pane between the rendered preview and the raw HTML source. All conversion happens in your browser via the open-source marked library.

Markdown to HTML

View:

Supported syntax

  • Headings with #, ##, ### through ######.
  • Emphasis*italic*, **bold**, ***both***, ~~strike~~.
  • Lists — bulleted (-, *, +) and numbered. Task lists with - [x] / - [ ].
  • Links and images[text](url), ![alt](url), plus autolinks for bare URLs.
  • Code — inline with backticks, fenced blocks with ```language.
  • Tables, blockquotes, horizontal rules, hard line breaks.

FAQ

Is the input sanitised?

The HTML output is rendered through the standard marked parser. If you intend to inject the result into a page, run it through a sanitizer (DOMPurify) first to strip script tags and dangerous attributes — Markdown by spec allows raw HTML.

Related calculators