Sanitizer

Read More at MDN DocsView Spec

Safe to Use

Experimental: This feature is experimental. Learn More

Sanitizer is not safe to use.

It’s supported by 63% of global browsers.

Browsers

ChromeSep 2, 2022v105.0.0
23%89%
There are no users of Chrome running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeSep 1, 2022v105.0.0
5%99%
There are no users of Edge running a supported version.
FirefoxUnsupported
Firefox does not support this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Sep 2, 2022 v105.0.0
23%89%
There are no users of Chrome running a supported version.
Sep 2, 2022 – Latest
v105.0.0+
23%89%

Full Support

Aug 31, 2021 – Sep 2, 2022
v93.0.0 – v105.0.0
1%3%

This feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled

Chrome Android
Sep 2, 2022 v105.0.0
34%93%
There are no users of Chrome Android running a supported version.
Sep 2, 2022 – Latest
v105.0.0+
34%93%

Full Support

Aug 31, 2021 – Sep 2, 2022
v93.0.0 – v105.0.0
2%4%

This feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled

Edge
Sep 1, 2022 v105.0.0
5%99%
There are no users of Edge running a supported version.
Sep 1, 2022 – Latest
v105.0.0+
5%99%

Full Support

Sep 2, 2021 – Sep 1, 2022
v93.0.0 – v105.0.0
0%0%

This feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled

Firefox
Unsupported
Firefox does not support this feature.
Nov 17, 2020 – Latest
v83.0.0+
2%96%

This feature is behind the dom.security.sanitizer.enabled preference (needs to be set to true

Firefox for Android
Unsupported
Firefox for Android does not support this feature.

No Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unsupported
Quest Browser does not support this feature.
Sep 13, 2021 – Latest
v17.0.0+

This feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled

Opera
Unsupported
Opera does not support this feature.
Sep 14, 2021 – Latest
v79.0.0+
0%5%

This feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled

Opera Android
Oct 21, 2022 v72.0.0
Opera Android supports this feature.
Oct 21, 2022 – Latest
v72.0.0+

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Unsupported
Safari on iOS does not support this feature.

No Support

Samsung Internet
Feb 10, 2023 v20.0.0
2%84%
There are no users of Samsung Internet running a supported version.
Feb 10, 2023 – Latest
v20.0.0+
2%84%

Full Support

WebView Android
Sep 2, 2022 v105.0.0
WebView Android supports this feature.
Sep 2, 2022 – Latest
v105.0.0+

Full Support

Contribute