HTML to Markdown Converter

Convert HTML to GitHub-flavored Markdown with full support for tables, code blocks, images, nested lists, and semantic elements. Perfect for migrating blog content, archiving web pages, or converting rich emails. 100% client-side.

HTML0 bytes
Markdown0 bytes

Frequently Asked Questions

Why convert HTML to Markdown?

Markdown is cleaner and more portable than HTML. Common use cases: migrating blog posts from WordPress/Ghost to Hugo/Jekyll, converting web articles for offline reading, writing docs, backing up content, or converting rich emails to plain text format.

Does it support tables and code blocks?

Yes. With GFM enabled, HTML tables are converted to pipe-separated Markdown tables. <pre><code> blocks become fenced code blocks (```) with optional language detection from the class attribute.

Is this safe for large HTML files?

Yes. Conversion runs in your browser using turndown.js, handling HTML files up to several MB. No data is sent to any server, so even large corporate documents remain private.

Can I customize the Markdown output style?

Yes. Customize heading style (ATX # or Setext ===), code block style (fenced ``` or indented), bullet markers (-, *, +), and emphasis delimiters (_ or *). Match your preferred Markdown flavor.

Can I convert a web page directly from URL?

The "Fetch URL" button attempts to fetch a page via a CORS proxy. Not all pages work due to cross-origin restrictions. For reliable results, copy the HTML source (View Source in your browser) and paste it directly.