HTML to Markdown Converter
Paste any HTML — a blog post, webpage source, email template, or snippet — and get clean Markdown in one click. Handles headings, links, images, lists, code blocks, blockquotes and more. 100% browser-based, no upload, no size limit.
Output
Conversion
Converts &, ", , and 25+ others to real characters
📝 What This Recipe Does
The HTML to Markdown recipe takes any HTML — a webpage, a blog post, an email template, or a snippet — and converts it to clean Markdown in one click. It handles all the common elements: headings, paragraphs, bold and italic, links, images, ordered and unordered lists, code blocks, blockquotes, and horizontal rules. Unknown tags are stripped, but their text content is preserved.
You can also switch to Plain Text mode to strip every tag entirely and get readable text with no Markdown syntax. Perfect for extracting content from a webpage, pasting into a notes app, or feeding to a text-only system.
🏷️ Supported HTML Elements
<h1>-<h6>, <p>, <div>, <br>, <hr>, <blockquote><strong>, <b>, <em>, <i>, <code>, <a>, <img><ul>, <ol>, <li>, <pre>, <code>⚡ How to Use
- Paste HTML — from a webpage source, a WYSIWYG editor, an email template, or a code snippet
- Pick output mode — Markdown (preserves formatting) or Plain Text (strips everything)
- Toggle options — preserve links, preserve images, decode entities
- Copy or download — get clean Markdown (.md) or plain text (.txt)
🎯 Who This Is For
✍️ Content creators
Convert legacy HTML blog posts to Markdown for a new static-site generator or CMS migration.
📝 Developers & writers
Turn HTML email templates or documentation into Markdown for GitHub, Notion, or Obsidian.
📚 Researchers
Strip a webpage to clean plain text for citations, notes, or feeding to an AI tool.
📧 Email marketers
Extract copy from an HTML email template to reuse in a different format.
🔒 Privacy
- ✓ Runs entirely in your browser — no server processing
- ✓ No HTML or Markdown is sent, stored, or logged
- ✓ Works offline after the page loads
- ✓ Your pasted content never leaves your device
❓ Frequently Asked Questions
What HTML elements are converted?
Headings (h1-h6), paragraphs, bold (b, strong), italic (i, em), links (a), images (img), ordered and unordered lists (ol, ul, li), inline code (code), code blocks (pre), blockquotes, horizontal rules (hr), and line breaks (br). Unknown tags are stripped but their text content is preserved.
Can I get plain text instead of Markdown?
Yes. Choose the "Plain Text" output format and the converter strips every tag, decodes HTML entities, and normalizes whitespace — giving you clean readable text with no Markdown syntax.
Does it handle HTML entities?
Yes. Common HTML entities like &, <, >, ", ', , ©, ®, ™, and numeric entities (', ') are decoded to their real characters during conversion.
Can I paste a full webpage source?
Yes. The converter extracts the content between opening and closing tags and ignores scripts, styles, and meta tags. Copy the page source or use "Inspect Element" → copy outer HTML and paste.
Is my data private?
Yes. The conversion happens entirely in your browser using JavaScript. No HTML or Markdown is ever sent to any server. Your pasted content never leaves your device.
Does it work offline?
Yes. After the page loads once, the converter runs entirely client-side. You can disconnect from the internet and keep converting.