How "HTML to Markdown" actually works here
Paste raw HTML into the input box (or drop in an .html file). The converter parses the document, walks the DOM, and emits Markdown that round-trips the structure: <h1> → #, <ul> → - lists, <table> → GFM tables (with column alignment when present), <pre><code class="language-python"> → ```python fenced blocks. Inline styles, <script> tags, and CSS classes are dropped — they have no Markdown equivalent and would only add noise.
When this is the right tool vs URL to Markdown
"HTML to Markdown" is the right tool when you already have the HTML text — copy-pasted from a developer console, exported from a CMS, generated by an editor, or scraped by a script you wrote. "URL to Markdown" is the right tool when you have a live URL and want us to fetch + render + convert it. Same Markdown output style; different starting point.
If your source is a PDF instead of HTML
Different tool: see /convert/pdf-to-markdown. Our HTML converter expects HTML markup as input. PDFs need a different parser entirely — extracting text, recovering reading order, detecting tables — which our PDF tool handles end-to-end.