Skip to content
Fourohtwo

HTML to plain text

agent-data-tools.revmesh2074.workers.dev/html/to-text

HTML to plain text. Strip HTML to readable plain text: scripts and styles removed, block elements become line breaks, list items get bullets, entities decoded. Use to feed web content or emails to an LLM.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/html/to-text

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/html/to-text?html=%3Ch1%3EHi%3C%2Fh1%3E%3Cp%3EA+%26amp%3B+B%3C%2Fp%3E%3Cul%3E%3Cli%3Eone%3C%2Fli%3E%3C%2Ful%3E");
console.log(await res.json());

Example input

{
  "html": "<h1>Hi</h1><p>A &amp; B</p><ul><li>one</li></ul>"
}