HTML →Markdown Converter

Paste any HTML fragment, get clean GitHub-flavored Markdown. Tables, code blocks, links and images handled — with honest fallbacks when Markdown can't express something.

🟢📖 What This Converter Does (and What Markdown Can't Do)

Tag mapping: h1-h6#-######, p → blank-line paragraphs, ul/ol- and 1. lists, a[text](href), img![alt](src), pre/code → fenced code blocks, table → GFM pipe tables, blockquote>, strong/em** / *.

The honest fallback: Markdown has no native table syntax — GFM pipe tables are a convention, and a cell containing a block-level element (div, list, multi-paragraph) cannot be flattened into a pipe row. When that happens, the converter keeps the table as HTML instead of emitting broken Markdown. Something is lost only when a lossless conversion is impossible.

Boilerplate skip: With "Skip script / style / nav" enabled, the converter drops script, style, head and nav content so pasting a full web page yields just the readable article.

Escaping: Text-level special characters (# * _ [ ] \`) are escaped in prose so the Markdown round-trips back to the same visible text.

See also: Markdown Preview (reverse) · HTML to JSX · HTML to JSX · More Developer Tools