tools/convert/markdown → html
// convertnew

markdown → html

render with github-flavor extensions

// client-only — enter text on the left

— enter text on the left

// about this tool

The Markdown to HTML converter implements GitHub Flavored Markdown (GFM) in a custom parser written in pure JavaScript. It supports headings (ATX and Setext), bold, italic, strikethrough, inline and fenced code blocks, ordered and unordered lists, task lists, blockquotes, tables, horizontal rules, images, and links. The preview tab renders the HTML and the source tab shows the raw output.

// when to use

  • Preview how a README.md will look before pushing it to GitHub
  • Convert documentation written in Markdown to HTML for embedding in a CMS
  • Test GFM table syntax to get the column alignment right
  • Inspect the generated HTML to understand how a Markdown element is rendered

// faq

Is this exactly the same as GitHub's renderer?
Very close for common elements. GFM has some edge cases in list nesting and tight vs. loose list handling that differ slightly between implementations. For pixel-perfect parity with GitHub, use their Markdown REST API.
Is the HTML sanitised?
The converter does not sanitise the output. If you paste Markdown that contains raw HTML, that HTML will appear in the output. Do not inject this output directly into a page without sanitising it first if the Markdown source is untrusted.
// history
Pro Cloud Sync — upgrade
no operations yet