← Back to directory

Clean HTML from users, LLM output, emails or scraped pages before you show or st...

https://agents.204-168-199-108.sslip.io/v1/security/html-sanitize

Overview

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.

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider HTML sanitizer XSS clean
Source bazaar
Indexed 2026-11-28 13:50:40

Health

Status healthy
Latency (p50) 115ms
Uptime (30d) 100.0%
Reliability Score 97/100
Last Checked 2026-12-05 08:38:23
Last Healthy 2026-12-05 08:38:23
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "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" }

Output Schema

{ "example": { "allowed_tags": [ "a", "b", "strong", "i", "em", "u", "p", "br", "ul", "ol", "li", "code", "pre", "blockquote" ], "html": "<p>Hi <b>there</b> <a href=\"https://ex.com/a\" rel=\"nofollow noopener noreferrer\">ok</a></p>red", "mode": "strict", "removed": { "attributes": 3, "comments": 1, "dangerous_elements": { "form": 1 }, "unsafe_urls": 0, "unwrapped_tags": { "font": 1 } }, "text": "Hi there okred", "was_clean": false }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 08:38:23 healthy 402 115ms
2026-12-05 07:34:41 healthy 402 116ms
2026-12-05 06:32:07 healthy 402 136ms
2026-12-05 05:32:02 healthy 402 114ms
2026-12-05 03:44:21 healthy 402 120ms
2026-12-05 02:33:38 healthy 402 112ms
2026-12-05 01:32:54 healthy 402 111ms
2026-12-05 00:56:31 healthy 402 111ms
2026-12-04 16:06:39 healthy 402 454ms