html_to_markdown
Convert raw HTML into clean Markdown by stripping navigation, headers, footers, sidebars, forms, and scripts, leaving the readable article. Works offline without a network request.
Instructions
Turn HTML you already have into clean Markdown: navigation, headers, footers, sidebars, forms and scripts are stripped, the readable article remains. No browser, no network request, milliseconds. Use this when you hold the HTML (a saved page, an API response, a scraped body); use url_to_markdown when you only have a URL. $0.01.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML source | |
| mode | No | article strips navigation; full keeps everything | article |
| output | No | json → {markdown, title, mode}; md → .md file | json |
| base_url | No | Makes relative links and images absolute | |
| output_path | No | ||
| idempotency_key | No |