Clean HTML from users, LLM output, emails or scraped pages before you show or st
Clean HTML from users, LLM output, emails or scraped pages before you show or store it. Drops script/style/iframe/object/form/svg and similar, strips every on* handler and style attribute, removes javascript:/data:/vbscript: URLs, unwraps unknown tags (keeps their text) and adds rel=nofollow to external links. Modes: basic (rich text, tables, images), strict (simple formatting + links), text (plain text only). Reports what was removed and was_clean.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/security/html-sanitize
| Category | Image and media |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.001 | 1050 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"html": "<p style=\"color:red\" class=\"x\">Hi <b>there</b> <a href=\"https://ex.com/a\" target=\"_blank\">ok</a></p><!-- note --><font color=red>red</font><form action=\"/f\"><input name=\"q\"></form>",
"mode": "strict"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"html": {
"description": "Untrusted HTML",
"type": "string"
},
"mode": {
"description": "basic (default), strict or text",
"type": "string"
}
},
"required": [
"html"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}