Convert HTML to Markdown
html_to_markdownFree, read-only. Convert a fetched URL or an HTML string you pass (one of the two) to Markdown: headings, links, lists, emphasis, code, quotes. Drops nav, header, footer, aside, script and style. Returns text, cut at maxChars with a marker. Runs no JavaScript: SPAs return an empty shell. Tables become plain text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page URL to fetch. Not with html. | |
| html | No | HTML text to convert. Not with url. | |
| headers | No | Headers to forward (Authorization, Cookie…). | |
| maxChars | No | Output cap, chars. Default 12000, max 50000. |