HTML chars
0
Free · Instant · No signup
Convert HTML tags to Markdown.
HTML chars
0
Markdown chars
0
Lines
0
Docs sites, newsletters, and CMS exports ship HTML. Moving that into a Markdown repo or static generator means hand-rewriting tags. This page parses HTML with DOMParser and emits headings, lists, links, and code blocks as you type.
Two panes: HTML in, Markdown out. Telemetry shows character counts and output line count. Load sample fills a short page with heading, paragraph, list, and link so you can sanity-check the mapping.
Nothing is posted. Conversion is live on input. Clear wipes both panes.
Complex tables, definition lists, and framework-specific components may flatten or drop. Review before you commit. For JSON config beside your Markdown, validate with the JSON Formatter & Validator.
Minify CSS pulled from the same page template with the CSS Minifier and Optimizer. Social preview tags for the published URL belong in the Meta Tags Generator.
Find/replace patterns in the Markdown output: use the Regex Tester on a sample chunk before bulk edits.
Copy output into your repo or Notion import. Swap is not on this page; re-paste HTML if you need a second pass.
Images become Markdown image syntax with src and alt from the tag. Relative URLs are preserved as pasted. Hosted absolute URLs copy through unchanged.
Blockquotes get > prefixes per line. Fenced code uses triple backticks without a language tag. Add the tag yourself if you need syntax highlighting downstream.
Headings h1-h6, paragraphs, strong/b, em/i, links, ul/ol/li, blockquote, pre/code, hr, br, and img. Nested lists get indented markdown. Unknown block tags fall through to their children.
No. DOMParser walks the HTML in your browser. Paste from CMS export, email HTML, or scraped pages without uploading content.
Markdown has no single HTML round-trip standard. This tool favors readable GitHub-style output: ATX headings, - bullets, fenced code blocks. Tables, custom components, and inline styles are not fully mapped.
Yes. Copy output uses the Clipboard API when valid output exists. Character and line counts update live on both panes.