Markdown output will appear here...
What is HTML to Markdown Converter?
HTML (HyperText Markup Language) is the structure language of the web. Markdown is a lightweight plain-text format popular in README files, docs sites, wikis, and static site generators. Converting HTML to Markdown lets you take existing web content and use it in GitHub READMEs, Notion, Obsidian, Ghost CMS, or any Markdown-based system.
How to Use
- Paste your HTML code into the left panel.
- Click "Convert" to transform it into Markdown.
- Review the output and copy it to your clipboard.
- Use "Load Sample" to see how different HTML elements convert.
Why Use This Tool?
Tips & Best Practices
- For cleaner output, paste only the <body> content, not a full <html> document
- Deeply nested HTML (tables inside lists) may not convert perfectly — review the output
- If the source has inline CSS (style="..."), the styling will be stripped in Markdown
- Use a Markdown preview tool after converting to verify the final rendering
- For GitHub flavored Markdown (GFM), the output should work as-is
Frequently Asked Questions
Does this support GitHub Flavored Markdown (GFM)?
Yes — the output uses GFM syntax: ~~strikethrough~~ for <del>, pipe tables, and fenced code blocks with language hints. It is compatible with GitHub READMEs, GitLab, and any renderer that supports GFM.
Why does my table look different after conversion?
Markdown tables require all rows to have the same number of cells, and complex HTML tables with colspan/rowspan cannot be faithfully represented in Markdown. The converter outputs a best-effort table; you may need to manually adjust merged cells.
What happens to inline CSS and class attributes?
CSS classes, IDs, and inline styles are stripped during conversion — Markdown has no concept of styling. The semantic meaning (heading level, bold, italic) is preserved but visual styling is lost.
Is there a size limit?
This tool runs entirely in your browser with no server involved. In practice, for very large HTML documents (thousands of lines), processing may be slightly slower, but there is no hard size limit.