Transform HTML snippets into markdown format.
This converter translates HTML markup into its Markdown equivalent. It handles headings (<h1>–<h6>), paragraphs, bold and italic text, hyperlinks, images, unordered and ordered lists, blockquotes, inline code, and code blocks. The output follows CommonMark conventions, which are supported by GitHub, GitLab, Notion, VS Code, and most static site generators.
Common use cases: converting blog posts from a CMS to Markdown for a static site, extracting documentation from HTML pages, or cleaning up copy-pasted HTML into readable plain text.
Tags like <div>, <span>, <table>, and <style> are either stripped or passed through as raw HTML (since Markdown allows inline HTML). Check the output for any raw HTML blocks that need manual editing.
Markdown uses blank lines to separate block elements. Multiple consecutive blank lines are collapsed by most Markdown renderers. If the output looks spacious, that is expected and will render correctly.
The output follows CommonMark conventions. GFM extends CommonMark with tables, task lists, and strikethrough. If your target platform uses GFM (GitHub, GitLab), the output is fully compatible — just note that HTML tables won't automatically convert to GFM table syntax.