# Tanod utilpeek HTML to Text

> Tanod utilpeek HTML to Text is a paid API for AI agents from tanod.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Converts an HTML document string to Markdown or plain text without fetching any URLs

## Facts

- Endpoint: POST https://tanod.dev/v1/html-to-text?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-utilpeek-html-to-text-4aaba004
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chKWIYgJBYAtY5v_MNJiG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanod-utilpeek-html-to-text-4aaba004 -d '<json body>'
```

Example prompt: Convert this HTML document to markdown for me — here's the raw HTML: '<html><body><h1>Hello</h1><p>World</p></body></html>' — and make any relative links absolute using https://example.com as the base URL.

## When to prefer this

Choose this endpoint when you already have raw HTML content in memory or as a string and need it converted to Markdown or plain text without any fetching. Ideal for processing scraped HTML, HTML emails, or HTML documents in an agent pipeline before passing content to an LLM. Unlike browser-based scrapers, this is a pure transformation — fast, deterministic, and cheap at $0.001 per call — best when the HTML is already retrieved and you just need clean text out.

## Known failure modes

- HTML string exceeds 2 MB limit — request rejected with validation error
- Empty or missing html field — returns validation error
- Invalid format enum value (not 'text' or 'markdown') — returns validation error
- Malformed base_url exceeding 2048 characters — returns validation error
- Extremely complex or deeply nested HTML may produce unexpected output structure

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

A converted document string: either Markdown (CommonMark/GFM-style) or plain text, depending on the requested format. Relative links in the output are made absolute if a base_url was provided. No HTTP requests are made by the service — only the provided HTML string is processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "maxLength": 2000000,
   "minLength": 1,
   "description": "The HTML document itself (at most 2 MB UTF-8); nothing is fetched."
  },
  "format": {
   "enum": [
    "text",
    "markdown"
   ],
   "type": "string",
   "default": "markdown",
   "description": "markdown (default) or plain text."
  },
  "base_url": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2048
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Makes relative links absolute in the output; never fetched."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-utilpeek-html-to-text-4aaba004/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
