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…
Quick Start
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
Output & Rendering Boundaries
Usage Advice
Limitations & Compatibility
Privacy & Security
FAQ
Identify the target flavor (CommonMark/GFM/custom). Avoid raw HTML and private extensions. Use standard line breaks (blank lines or two trailing spaces). Reduce to a minimal example, verify on the target platform, then expand.
This tool doesn’t execute <script>, but it also doesn’t auto‑sanitize. Sanitize on the server/publish pipeline with a whitelist library (e.g., DOMPurify), disallow on* handlers and dangerous URI schemes, and enforce CSP for external/inline scripts.
Prefer portable semantics: convert nested tables/lists into pipe tables and flatter lists; paste as plain text to strip span/style/class before converting; isolate a minimal case and adjust the source.
The download contains the current HTML source output. Formula and diagram rendering happens in the browser preview and may leave recoverable source placeholders in the HTML; render and sanitize again in your publish pipeline for standalone pages.
No. It converts Markdown and HTML locally with source/preview views, copy, and .html/.md downloads. It does not manage projects, publish to CMS platforms, or provide collaboration.