HTML to Markdown
Convert any HTML to clean markdown instantly. Paste web pages, emails, or exported docs — headings, links, tables, and code blocks are all preserved.
How it works
Three steps. Five seconds.
Paste HTML
Drop any HTML: web page source, exported Word docs, email templates, CMS content. Paste it into the input box.
See Markdown
Conversion happens live as you type — headings, links, tables, code blocks, and lists are all preserved and formatted.
Copy & Use
Click Copy and paste clean markdown into GitHub, Notion, your editor, or any markdown tool. Or download as a .md file.
Convert HTML to markdown the right way
Handles real-world HTML from any source — structure preserved, styles stripped, markdown ready.
100% Client-Side
Conversion runs entirely in your browser. No upload, no server, your HTML never leaves your device.
Works offline once the page loads. Nothing is ever sent anywhere.
Tables Preserved
HTML tables convert to GitHub-Flavored Markdown table syntax automatically.
Uses GFM table extension for full compatibility with GitHub, Notion, and other platforms.
Code Blocks Intact
<pre><code> elements become fenced code blocks with language detection.
Language classes like class="language-js" are preserved as fenced block hints.
Paste Anything
Handles messy, real-world HTML — inline styles and classes are stripped, structure is preserved.
Works on web page source, exported Word HTML, email templates, and CMS output.
Frequently asked questions
Everything you need to know.
What is HTML to markdown conversion?
HTML to markdown conversion transforms HTML markup (like <h1>, <p>, <strong>) into plain-text markdown syntax (like # Heading, paragraph text, **bold**). This is useful when you want to use content in a markdown-based tool (GitHub, Notion, Obsidian, a static site generator) but the source is HTML from a web page, email, or document export.
Need to go the other way?
Paste markdown into our editor. Preview it with professional themes. Export to PDF or HTML in one click.