Skip to content
Fourohtwo

fastx402.tools/html-escape

Escapes a string for safe insertion into HTML or XML text and attribute contexts. Use it when generated content must preserve characters without manual entity handling.

BaseAnswering
GEThttps://fastx402.tools/html-escape

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://fastx402.tools/html-escape?text=%3Ca+href%3D%22x%22%3ETom+%26+Jerry%27s%3C%2Fa%3E");
console.log(await res.json());

Example input

{
  "text": "<a href=\"x\">Tom & Jerry's</a>"
}

More from FastX402 Lab