Skip to content
Fourohtwo

HTML to text, HTML to Markdown converter, strip HTML tags

lookupkit.dev/api/html_to_text

HTML to text, HTML to Markdown converter, strip HTML tags. Strip HTML down to readable plain text (scripts and styles removed, entities decoded, paragraphs kept), or convert it to Markdown with format=markdown.

BaseAnswering
GEThttps://lookupkit.dev/api/html_to_text

Uptime100% of 2 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lookupkit.dev/api/html_to_text?html=%3Ch1%3ETitle%3C%2Fh1%3E%3Cp%3EHello+%3Cb%3Eworld%3C%2Fb%3E+%26amp%3B+friends.%3C%2Fp%3E");
console.log(await res.json());

Example input

{
  "html": "<h1>Title</h1><p>Hello <b>world</b> &amp; friends.</p>"
}

More from Lookup KitProvider status