# HTML to Markdown Converter

> HTML to Markdown Converter is a paid API for AI agents from toolbelt402.tpoborne.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Converts raw HTML into clean, LLM-ready Markdown, preserving headings, lists, tables, links, and code blocks deterministically without an LLM.

## Facts

- Endpoint: POST https://toolbelt402.tpoborne.workers.dev/html/to-markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-to-markdown-converter-8d7d3159
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7fK3Qjo6Lh1K_ji7OzyB0

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 html-to-markdown-converter-8d7d3159 -d '<json body>'
```

Example prompt: Take this raw HTML I scraped from a product page and convert it to clean Markdown — I need it formatted with proper headings, lists, tables, and links so I can feed it into an LLM without all the HTML noise.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, zero-hallucination conversion of HTML to Markdown — especially for LLM context preparation, web scraping pipelines, or documentation processing. Prefer it over LLM-based cleaning when consistency and reproducibility matter, or when cost per call must be kept low and no semantic rewriting is needed.

## Known failure modes

- Malformed or empty HTML input returns an error
- Extremely large HTML payloads may be rejected or time out
- Deeply nested or non-standard HTML structures may produce imperfect Markdown
- Binary or non-HTML content passed as input will fail parsing

## How this service works

Convert HTML to clean Markdown — turn scraped web pages into LLM-ready text. Handles headings, lists, tables, links, code blocks. Deterministic, no LLM.

## Output

A clean Markdown string converted from the input HTML, with headings, bullet lists, numbered lists, tables, hyperlinks, and code blocks faithfully represented using standard Markdown syntax. The output is deterministic and contains no LLM-generated content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "description": "HTML to convert (max 256 KB)"
  },
  "options": {
   "type": "object",
   "properties": {
    "bulletMarker": {
     "enum": [
      "-",
      "*"
     ],
     "type": "string"
    },
    "linkReferences": {
     "type": "boolean"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-to-markdown-converter-8d7d3159/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolbelt402.tpoborne.workers.dev](https://www.zero.xyz/host/toolbelt402.tpoborne.workers.dev/llms.txt)
