XSS Sanitizer
Strip dangerous XSS payloads from user input. See exactly what gets removed before it can harm your app.
Raw Input
Sanitized Output
Type or paste input to see sanitization...
Full version: context-aware sanitization, DOM purifier, recursive sanitization, allow-list configuration, logging.
Buy Full Version โ $19
This demo shows limited functionality. Buy the full tool for all features.
world!\n\nNormal text here.`,
event: `