Why convert HTML to Markdown?
Markdown is easier to author, diff, version, and review than HTML. Teams migrate CMS content into Git-tracked docs, scrape blog posts into a knowledge base, or extract email-template body into a README. Anywhere humans need to read and edit text in plain form, Markdown wins over HTML — and a one-shot converter is faster than retyping.
Are CSS styles preserved?
No — Markdown has no styling primitives. Inline styles, classes, font sizes, and colors are dropped during conversion. Only semantic structure (headings, lists, tables, links, emphasis) survives. If you need pixel-perfect styling, keep the source as HTML; if you need readable, portable text, Markdown is the right target.
How are nested tables handled?
GitHub-flavored Markdown does not support nested tables — the spec only allows simple cells with inline content. The converter renders the outer table and concatenates inner-table cell text into the corresponding parent cell. If you rely on nested tables for layout, the result will be lossy; consider restructuring the content first or keeping it as HTML.
What HTML tags are supported?
h1-h6, p, strong/b, em/i, code, pre, a, img, ul, ol, li, blockquote, hr, br, and table (with thead/tbody/tr/th/td). Structural wrappers like div, section, article, main are unwrapped — their children are emitted with their original tags. Unknown tags are unwrapped to text. Script and style tags are stripped.
Why is whitespace collapsed in my output?
HTML treats most whitespace as insignificant — multiple spaces, tabs, and newlines collapse to a single space. The converter follows this rule for inline text. Block-level boundaries (headings, lists, paragraphs) emit blank lines. If your source uses <pre> or <code>, whitespace inside is preserved verbatim.
Does it sanitize the HTML input?
The HTML is parsed via the browser DOMParser, which is sandboxed — script, iframe, and event handlers are not executed during parsing. The Markdown output contains no executable code by definition. That said, if you paste the resulting Markdown back into a renderer, run it through your usual sanitizer if the source was untrusted.
Can I convert a whole web page?
Yes — paste the body HTML or the full document. The converter unwraps html, head, body, and div containers and converts the visible structural elements. For best results, paste only the article content (between the main <article> tags) so navigation and footer markup is excluded.
Is my HTML uploaded to a server?
No. Parsing and conversion run in your browser using JavaScript and the built-in DOMParser. Internal CMS content, scraped pages, and email HTML never leave the device. Confirm in DevTools — no requests fire when you click Sample or paste.