Not TestedTesting not done, may not work properly
HTML & DOM Security

HTML Sanitizer Security

Verify DOM sanitization behavior and XSS prevention policies.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const sanitizer = new Sanitizer({ allowElements: ['b', 'i'] });

About the HTML Sanitizer Security Web API

Evaluates native HTML Sanitizer API configuration to neutralize dangerous scripts and element tags.

Specification:W3C & WHATWG Web API Standard
Sponsored Content