Skip to content
World Cup Kickoff Time Converter is liveSee kickoff times in your time zone and add calendar reminders.

Markdown Converter

Markdown Converter converts Markdown to HTML or HTML back to Markdown locally, with source and preview views, copy, and .html/.md downloads for docs, blog drafts, and content migration checks.

Input

Characters

0 / 50,000

Converted result will appear here…

Markdown Converter

Quick Start

1
Paste Markdown or HTML.
2
Choose Markdown -> HTML or HTML -> Markdown.
3
Review source output or preview.
4
Copy or download the output.

Common Scenarios

Docs/blog drafts

preview GFM, code blocks, formulas, and diagrams before moving to your publishing platform

Email/announcement fragments

inspect generated HTML before your template and sanitizer pipeline

Rich text → Markdown

clean webpage/CMS rich text into version‑controlled Markdown

Technical docs

preview KaTeX formulas and Mermaid diagrams, then download the source output

Editor migration

compare Markdown flavor differences before pasting into another platform

Wiki/Knowledge base

convert HTML pages to Markdown for import

API changelog

turn HTML/descriptions into Markdown for review/PR

Conversion Parameters & Rendering

HTML → Markdown converts the input HTML directly; only this tool’s data-tex/data-mermaid-source placeholders can be restored to $$…$$ or Mermaid fences
GFM (tables/tasks) is enabled by default; use standard Markdown for strict behavior
Soft line breaks are enabled; for strict behavior use blank lines or two trailing spaces

Output & Rendering Boundaries

Downloads contain the current source output only:.html for Markdown → HTML, .md for HTML → Markdown
The preview DOM is for inspection and is not copied, downloaded, or packaged as a standalone rendered document
KaTeX and Mermaid are preview enhancements; downloaded HTML may include source placeholders rather than fully rendered SVG/HTML
HTML → Markdown is a best-effort semantic conversion, not a layout/style-preserving rich-text migration
This is a focused Markdown converter, not a full editor or publishing tool.
This is not a production HTML sanitizer; apply an allowlist sanitizer and CSP before publishing untrusted HTML

Usage Advice

Email: use your delivery pipeline for inline/theme styles, sanitizer rules, and client compatibility checks
Long documents: convert in parts when reviewing previews, formulas, or diagrams

Limitations & Compatibility

Flavors differ: rendering varies across platforms; prefer common syntax
HTML → Markdown is best‑effort: styles/layout are often lost
HTML → Markdown keeps portable semantics better than presentation details; scripts, styles, events, forms, embeds, and media often do not survive as usable Markdown
Images/video remain external links; not downloaded
Third‑party pre‑rendered Mermaid SVG cannot be reliably reversed

Privacy & Security

Markdown conversion runs locally in your browser. Source input may stay as a browser draft, and conversion mode, panel, Markdown/Turndown options, output view, and line-number preference may be kept in browser storage. If a saved workspace or WebDAV sync is enabled, that input and those preferences may be saved through that sync. Converted output, copied text, and downloaded .html/.md files are regenerated from the current input and preferences; this tool does not upload files, create attachments, or save a separate result state.
Doesn’t run <script> from pasted HTML
The HTML output is not automatically sanitized; review and sanitize it before publishing

FAQ

7

Continue with these related tools for the next step.

All tool processing happens locally in your browser.