# UOS Genesis HTML-to-Text Converter

> UOS Genesis HTML-to-Text Converter is a paid API for AI agents from genesis.palsus2023.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Strips HTML markup from an HTML document or fragment and returns clean plain text

## Facts

- Endpoint: POST https://genesis.palsus2023.workers.dev/v1/html_to_text
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uos-genesis-html-to-text-converter-767a09b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V2dfaA2uHM1TulO0Fj4RP

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 uos-genesis-html-to-text-converter-767a09b7 -d '<json body>'
```

Example prompt: Take this HTML I just scraped and strip out all the markup so I just get the plain readable text: '<h1>Hello</h1><p>This is a <b>test</b> paragraph.</p>'

## When to prefer this

Use this endpoint when you need a lightweight, paid-per-call conversion of HTML to plain text without running your own parser. It complements the sibling html_to_markdown endpoint when you need purely unformatted text rather than markdown structure. Good for preprocessing scraped web content before feeding it to LLMs or search indexers.

## Known failure modes

- Malformed or unparseable HTML may produce garbled or incomplete text output
- Empty input returns empty string
- Very large HTML documents may time out or exceed payload limits
- Non-HTML input (e.g. plain text or binary) may return the input unchanged or produce an error

## How this service works

UOS Genesis machine utility: html_to_text

## Output

Returns the plain text content extracted from the input HTML, with all tags, attributes, scripts, and markup removed, leaving only the human-readable text content

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "input": {
       "type": "string",
       "description": "HTML document or fragment from which readable plain text should be extracted."
      }
     },
     "required": [
      "input"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 },
 "required": [
  "input"
 ],
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uos-genesis-html-to-text-converter-767a09b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from genesis.palsus2023.workers.dev](https://www.zero.xyz/host/genesis.palsus2023.workers.dev/llms.txt)
