HTML to Markdown
Convert HTML to clean Markdown
How to use HTML to Markdown
- Paste HTML into the left panel.
- The Markdown equivalent appears automatically on the right.
- Toggle GFM for GitHub-style tables, strikethrough, and task lists.
- Enable the rendered preview to verify the conversion looks correct.
- Copy the Markdown or download it as a .md file.
What is Markdown?
Markdown is a lightweight markup language designed to be easy to read and write in plain text. It converts readily to HTML, making it ideal for documentation, README files, blog posts, and any writing that may be viewed on the web.
Converting HTML to Markdown is useful when you need to move content from a rich HTML source (a CMS export, a web page, a Google Doc export) into a Markdown-first environment like GitHub, Obsidian, or a static site generator.
Not everything survives the conversion — CSS styling, attribute customizations, and custom elements have no Markdown equivalent. For typical prose content (headings, paragraphs, lists, links, images, code blocks), conversion is clean and reversible.
Frequently Asked Questions
What Markdown flavor does this produce?
By default, GitHub Flavored Markdown (GFM), which supports tables, strikethrough, and task lists. You can toggle GFM off to produce standard CommonMark Markdown.
Why do some HTML elements disappear in the conversion?
Markdown is simpler than HTML — some elements (like <div>, <span>, styles) have no direct Markdown equivalent and are either stripped or flattened. Structural elements like headings, paragraphs, lists, links, images, code blocks, and blockquotes convert cleanly.
Can I use this on pages from the web?
You can paste any HTML snippet, including markup copied from a rendered web page. For full page conversion, consider copying just the article content — page chrome (navigation, ads, footers) usually does not translate well.
Is my HTML sent anywhere?
No. The conversion happens entirely in your browser.