๐Ÿ“„

HTML to Markdown Converter

Convert HTML to Markdown instantly. Supports headings, bold, italic, links, images, code blocks, lists, tables, blockquotes, and more. Clean Markdown output with copy and download. Free online HTML to Markdown converter.

Free Format

Frequently Asked Questions

What HTML elements are supported?

The converter handles all common HTML elements: headings (h1-h6), paragraphs, bold (strong/b), italic (em/i), strikethrough (del/s), links (a), images (img), code blocks (pre/code), inline code (code), ordered and unordered lists (ol/ul/li), tables (table/thead/tbody/tr/th/td), blockquotes (blockquote), and horizontal rules (hr). Unsupported tags are either kept as-is or stripped based on the "Keep unknown HTML tags" option.

How are links and images converted?

Links become [text](url) format. If the link has a title attribute, it's included as [text](url "title"). Images become ![alt](src). If an image is wrapped in a link, the converter produces [![alt](img-src)](link-url) โ€ฆa common pattern for clickable banners and thumbnails.

How are tables handled?

HTML tables are converted to Markdown pipe syntax with header separation. Alignment from CSS or inline styles (text-align) is preserved using the colon notation: :--- for left, :---: for center, ---: for right. Tables without <thead> will have the first row treated as the header.

What happens to nested lists?

Nested lists are converted with proper indentation (2 spaces per level for unordered, 4 spaces for ordered). Enable "Flatten nested lists" to convert deeply nested structures into a single level โ€”useful when the target Markdown renderer has limited nesting support.

Can I convert a full web page?

Yes. Paste the HTML from any web page and the converter will extract the content. For best results, paste only the content portion (inside <body>) rather than the entire page with <head> scripts and styles. The converter strips <script> and <style> tags automatically.

Is this tool free?

Yes, completely free with no sign-up required. All conversion happens in your browser โ€ฆyour content is never uploaded to any server.