Tools

Markdown to HTML converter

Convert Markdown to HTML with GitHub Flavored Markdown support.

Runs in your browserFormatting37.1K
Free

Input

0 BFree up to 50.0 KB

Result

The result will appear here.

Your runs

Only runs that cost points are saved.

Sign in to keep a history of your runs.

Converts Markdown to the HTML a renderer would produce, with GitHub Flavored Markdown enabled by default — tables, task lists, strikethrough and autolinking all work. Useful when you need to paste formatted content into a system that only accepts HTML, or to check exactly what markup your Markdown becomes.

How it works

  • Conversion runs in your browser on marked, a CommonMark-compliant parser.
  • GFM adds tables, task lists, strikethrough and autolinks; CommonMark mode turns them off.
  • Output is returned as HTML source text, not rendered, so you can inspect and copy it.

Where your data goes

Nowhere. This tool runs entirely in your browser: the text you paste is processed by the page and is never transmitted to a server or written to a log.

When a run costs points, a one-line summary is saved to your own history so you can find it again. The summary records the shape of the run — sizes, counts, the values you looked up — never the content you pasted.

What it costs

Free up to 50.0 KB per run without an account. Past that, a run costs 1 points and is saved to your history.

Points come from signing up, checking in daily, commenting and completing your profile.

See how points work

Common questions

Is the output safe to insert into a page?
Not on its own. Markdown permits raw HTML, so anything a user wrote passes straight through. Sanitize the output server-side before rendering anything you did not write yourself.
Why does my line break disappear?
CommonMark treats a single newline as a space. Use a blank line for a new paragraph, two trailing spaces for a hard break, or turn on the line-break option to make every newline a <br>.
What is the difference between GFM and CommonMark?
CommonMark is the strict specification. GFM adds the extensions GitHub uses. If your target renders on GitHub, GitLab or most documentation tools, GFM is the right choice.

The open-source behind it

This tool runs on markedjs/marked, released under MIT. If you need the same behaviour inside your own program, that is the library to reach for.

markedjs/marked

Also known as

  • markdown to html
  • md to html converter
  • markdown converter
  • gfm to html
  • markdown compiler