Text and data converters
HTML Sanitization Previewer
See which scripts, event handlers, and unsafe URLs should be removed.
Processed locally. Your input and output are never uploaded.
Tool overview
HTML Sanitization Previewer tool overview
Preview a conservative sanitized version of pasted HTML. PasteTidy keeps the source and generated result separate so the transformation can be reviewed before copying or downloading.
HTML Sanitization Previewer workflows
- Prepare html sanitization previewer output for a repeatable workflow
- Review local results before publishing or importing
- Keep sensitive pasted content in the current browser tab
Use HTML Sanitization Previewer locally
- Paste the source text or load the example.
- Choose the documented options.
- Review the result and any warnings before copying it.
HTML Sanitization Previewer controls
- Options are explicit and affect only the local result.
- The output remains separate from the source for review.
- No input or output is placed in URLs or analytics.
HTML Sanitization Previewer example
Before
<p>Hello</p><script>alert(1)</script><a href="javascript:alert(1)">x</a>
After
<p>Hello</p><a>x</a>
HTML Sanitization Previewer limits and excluded claims
- The result is a conservative preview and is not a replacement for a production sanitizer policy.
- Malformed or ambiguous input may require manual review.
- Large inputs remain subject to browser memory and shared worker limits.
Browse all text and data converters tools โ
Questions
HTML Sanitization Previewer FAQ
Does HTML Sanitization Previewer upload my input?
No. It runs locally in your browser without an upload endpoint.
Is the result authoritative?
The result is a conservative preview and is not a replacement for a production sanitizer policy.
Can I review the source after processing?
Yes. The input remains separate from the generated result until you reset or replace it.