Skip to content

HTML and Markdown converter

ConvertExperimentalLimited support. Verify anything critical.

HTML and Markdown conversion moves content between explicit document markup and a compact plain-text authoring syntax. In the HTML-to-Markdown direction, executable elements are removed before Turndown creates headings, lists, links, emphasis, and fenced code. In the reverse direction, Marked parses the Markdown and DOMPurify sanitizes the resulting preview. Both transformations run locally and expose the generated source for copying or download rather than silently publishing it.

Skip to the tool

This tool processes the values or files you choose on your device. They are not uploaded.

Output

Limits

  • Input is limited to 1 MB
  • complex styling and layout are intentionally discarded.

Warnings

  • Conversion is semantic rather than pixel-perfect; review tables
  • nested lists
  • and custom HTML.

How to use HTML and Markdown converter

Deterministic conversion

The converter uses deterministic parsers, not an AI service. That makes the same input reproducible and keeps private source material in the browser.

Inspect before reusing

Copy the source only after checking heading levels, links, code fences, tables, and nested lists in the preview or destination renderer.

How it works

  1. Enter what you haveType or pick your HTML, Markdown. Nothing is submitted anywhere.
  2. It runs in this tabThe calculation happens on your device, using your browser's own data.
  3. Take the resultRead the Markdown, sanitized HTML, live preview, then copy, download, or share a link.

Reuses the bundled, locally executed Markdown conversion and sanitization stack.

Basis
ported-mit
Licence
MIT
Last reviewed

Frequently asked questions

Why are styles removed?

Markdown represents document meaning rather than arbitrary visual CSS, so unsafe or non-semantic styling is intentionally not preserved.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close