HTML to Markdown
Converts HTML content to Markdown.
This tool requires JavaScript. If you don't see the editor, enable JavaScript and reload.
Related conversions
Every other format this HTML source can be converted to.
How to use HTML to Markdown
- 1Upload a .html or .htm file, or paste the source directly into the editor.
- 2Select “Convert” to build the .md file.
- 3Copy the .md result, or download it as a file.
Example
Convert HTML to Markdown.
Input (HTML)
<!doctype html> <h1>Project Update</h1> <p>This document was written in Word and converted to HTML.</p> <ul> <li>Timeline</li> <li>Next steps</li> </ul>
Output (.md)
# Release Notes The importer now streams large files instead of buffering them in memory. ```bash mdedit convert notes.md --to pdf ``` | Change | Status | | --- | --- | | Streaming import | Shipped | | Retry on 429 | In review |
FAQ
- What carries over from .html to .md?
- Structure maps across: headings, paragraphs, lists, links, tables, code blocks, and inline emphasis. Anything that depends on the source presentation layer can be simplified or dropped, including page layout, fonts and colors, comments and tracked changes, and deeply nested or merged tables. Review those areas before you publish the result.
- What are the file limits?
- Accepted file types are .html, .htm. Each file must be 10 MB or smaller.
- Is my content private?
- Processed locally in your browser; your content isn’t uploaded. When importing by URL, we first try to fetch it in your browser. If the site blocks it (CORS), we may fetch it via our backend importer to extract HTML/Markdown.