Convert HTML to MD
Convert HTML to MD free in your browser. No upload, no signup, no watermark. Files stay on your device.
drop a .html file
or click to browse
related
more html & md
see all document converters →guide
how to convert html to md
Drop your HTML file
Drag your HTML file into the drop zone above, or click the box to pick a file from your computer or phone. The browser reads the file directly — nothing uploads.
Click Convert
The page runs turndown on your device to decode the HyperText Markup Language and encode it as Markdown. Most conversions finish in a few seconds; large or codec-heavy files (RAW, video) can take longer.
Download the MD file
When the conversion finishes, the MD file is ready to download. Save it anywhere on your device.
FAQ
common questions
Will all my HTML formatting survive in Markdown?
Most of it, but not everything. Headings, paragraphs, lists, links, bold/italic, code blocks, blockquotes, basic tables, and images all map cleanly to Markdown equivalents. HTML features that have no Markdown equivalent — inline styles (color, font-family), complex multi-column layouts, forms, JavaScript, custom data attributes — are stripped or simplified. The conversion is lossy in the sense that visual styling is reduced to Markdown's structural minimum.
What happens to embedded CSS and inline styles?
Stripped. Markdown doesn't have a styling layer — formatting is structural (this is a heading, this is bold) not visual (this is 18-point Helvetica in dark blue). CSS classes and inline styles are removed during conversion; the output is clean semantic Markdown that renders according to whatever style the consuming app applies.
Will my HTML tables convert correctly?
Yes for simple tables. The converter renders <table>/<tr>/<td> structure into GitHub-Flavored Markdown's pipe syntax. Tables with merged cells (rowspan/colspan) don't have a direct Markdown equivalent — those cells flatten and the table structure may simplify. Very large or complex tables read better as the original HTML.
What about images and links?
Both convert cleanly. <img src='...' alt='...'> becomes , and <a href='...'>text</a> becomes [text](url). The conversion preserves URLs verbatim, so absolute URLs continue working and relative URLs continue being relative.
Why convert HTML to Markdown at all?
Three common reasons: (a) you're publishing web content to a static-site generator (Jekyll, Hugo, MkDocs) that uses Markdown as its source format; (b) you want a clean editable version of a web article without inline styling; (c) you're archiving web content and Markdown is more readable than raw HTML for long-term storage. For preserving visual rendering, HTML is the right format; for content portability and human readability, Markdown wins.