Markdown to HTML
Converted in your browser · nothing is uploaded
Converts Markdown to HTML with a live preview, handling headings, emphasis, lists, links, images, blockquotes, code fences and GitHub-style tables. It uses the same parser that renders this site’s own articles, so the output is what the site would produce.
How to convert Markdown to HTML
There is no single Markdown. The original 2004 implementation left many cases undefined, so every renderer filled the gaps differently — which is why a document that looks right on GitHub can render differently in a static site generator. CommonMark exists to pin the ambiguities down, and GitHub Flavored Markdown adds tables, strikethrough, task lists and autolinking on top. This follows GFM, which is what most people mean when they say Markdown today. The difference that bites most often is the line break. A single newline inside a paragraph is **not** a break in Markdown — it joins the lines — which is why text pasted from an editor that hard-wraps at 80 columns comes out as one paragraph. Two spaces at the end of a line, or a backslash, forces a real break; a blank line starts a new paragraph. Raw HTML inside Markdown is passed through by design, which is a feature and a security consideration. If you are rendering Markdown that someone else wrote, the output must go through a sanitiser before it reaches a page — Markdown is not a safe subset of HTML, and `<script>` in a Markdown document is a script tag in the output.
Questions
GitHub Flavored Markdown — CommonMark plus tables, strikethrough, task lists and autolinks.