← Back to directory

Convert HTML to Markdown or plain text (nothing fetched) (Tanod)

https://tanod.dev/v1/html-to-text

Overview

The readable content of an HTML document you send (the HTML itself, never a URL: nothing is fetched) as Markdown or plain text, with title and description; scripts, styles, navigation, footers, forms and embeds are dropped and <main> or <article> is preferred. Body: `{"html": "<h1>Title</h1><p>Some <b>bold</b> text and a <a href='/docs'>link</a>.</p>", "format": "markdown", "base_url": "https://example.com/"}`. Over 250,000 tags or very deep nesting is a 422 html_too_complex.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category tools/web
Provider tanod
Source bazaar
Indexed 2026-10-07 22:29:17

Health

Status healthy
Latency (p50) 396ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:04:53
Last Healthy 2026-10-31 07:04:53
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "base_url": "https://example.com/", "format": "markdown", "html": "<h1>Title</h1><p>Some <b>bold</b> text and a <a href='/docs'>link</a>.</p>" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "chars": 67, "content": "# Title\n\nSome **bold** text and a [link](https://example.com/docs).", "description": "", "format": "markdown", "source": { "library": "BeautifulSoup (html.parser)", "license": "MIT" }, "title": "", "truncated": false, "untrusted_content": true }, "type": "json" }