HTML to Markdown
Convert HTML to clean Markdown with table, code block, and image handling options.
Free & unlimited
Headings
Bullets
Code blocks
Conversion options
Image style
HTML
Result
Markdown appears here as you type.
All processing happens in your browser. No data is sent to any server.
About this tool
- 1
Paste or upload HTML
Enter HTML code directly or upload an .html file.
- 2
Choose Markdown flavor
Select CommonMark, GitHub Flavored Markdown, or another supported flavor.
- 3
Review the output
Check the converted Markdown for accuracy and readability.
- 4
Copy or download
Copy the Markdown text or save it as an .md file.
- Complex HTML tables are converted to GFM table syntax - check column alignment after conversion.
- Inline styles and CSS classes are stripped since Markdown does not support styling.
- Nested lists and blockquotes convert accurately when the HTML uses standard <ul>, <ol>, and <blockquote> tags.
- Images are converted to  syntax - verify that image URLs are still accessible.
- Converts semantic HTML to clean Markdown
- Handles tables, lists, links, and images
- Supports GitHub Flavored Markdown output
- Strips scripts, styles, and non-content elements
- Preserves heading hierarchy and emphasis
- Migrate web content to a Markdown-based CMS or static site generator like Jekyll or Hugo.
- Convert HTML documentation to Markdown for a Git repository.
- Extract readable Markdown from a web page for note-taking.
- Transform HTML email content into Markdown for archival.
Elements like <div>, <span>, and custom tags are either unwrapped (keeping inner text) or passed through as raw HTML depending on the setting.
No. HTML comments are stripped during conversion since Markdown does not have a native comment syntax.
This tool converts one HTML document at a time. For a full site, convert each page individually.