Skip to content

Markdown to HTML Converter

Converts Markdown to HTML in your browser, with a live rendered preview alongside the source and the code output. Supports GitHub-flavored Markdown — tables, strikethrough, task lists — and sanitizes the output before it is ever rendered on the page.

  • Live preview as you type
  • GitHub-flavored Markdown: tables, strikethrough, task lists
  • Output sanitized before rendering
  • Copy the generated HTML in one click
  • Runs fully client-side

Converter

Converted and sanitized locally, nothing uploaded

Preview

HTML output

How to convert Markdown to HTML

  1. 01

    Paste your Markdown

    Paste or type Markdown into the source panel.

  2. 02

    Check the live preview

    The rendered preview updates as you type, so formatting mistakes are visible immediately.

  3. 03

    Copy the HTML

    Copy the generated HTML from the output panel to paste into a CMS, static site or email template.

Why sanitize the output at all#

Markdown allows raw HTML to pass through unchanged — that is part of the spec, not a bug. It means a <script> tag pasted into the source panel would otherwise render, and execute, inside this page. Before the generated HTML touches the preview panel, it is run through DOMPurify, a well-audited sanitizer that strips scripts, event handlers and other executable content while leaving normal formatting HTML untouched.

The HTML you copy out is the sanitized version, not the raw conversion — so pasting it elsewhere carries the same protection, without needing to trust whatever markdown you started from.

What "GitHub-flavored" adds over plain Markdown#

Original Markdown does not define tables, strikethrough text, or task-list checkboxes — those were popularized later by GitHub's dialect (GFM) and have since become the de facto standard most tools and CMSs expect. This converter follows GFM, so ~~strikethrough~~, pipe-delimited tables, and - [ ] todo checklists all render as expected, alongside standard headings, lists, links, and fenced code blocks with language-tagged syntax classes.

Where this fits — READMEs, CMS bodies, email templates#

Markdown is the natural format for writing, but most places that display content on the web want HTML: a CMS rich-text field, a static site generator without built-in Markdown support, an HTML email template, or a component that only accepts markup. This tool is the bridge — write in Markdown, ship HTML, without installing a build toolchain for a one-off conversion.

Frequently asked questions

Is the HTML output safe to paste into a CMS or email template?

Yes — the output shown and copied has already been sanitized with DOMPurify, which strips scripts, inline event handlers and other executable content while preserving normal formatting markup.

Does this support GitHub-flavored Markdown (tables, task lists)?

Yes. Tables, strikethrough text, and task-list checkboxes all render correctly, alongside standard Markdown syntax.

Is my Markdown uploaded anywhere?

No. The conversion, preview and sanitizing all happen locally in your browser — nothing is sent to a server.

Does it support fenced code blocks with syntax highlighting?

Fenced code blocks are converted to `<pre><code class="language-x">` with the language tagged as a class, ready for a syntax highlighter of your choice to pick up — this tool itself does not apply highlighting colors.

Developers

UUID Generator

Generate cryptographically random UUID v4 or time-ordered UUID v7, in bulk.

Developers

Base64 Encoder & Decoder

Encode and decode Base64 with correct UTF-8 handling, including the URL-safe alphabet.

Developers

ULID Generator

Generate ULIDs — sortable by creation time like UUID v7, but Crockford Base32 instead of hex.