---
id: "trusted-types"
kind: "web-feature"
canonical: "https://timetostable.com/feature/trusted-types"
baseline: "low"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Trusted types (`trusted-types`)

Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.

- **Group**: Security
- **Baseline**: Newly Available
- **Newly Available Date**: 2026-02-24
- **Specification**: https://w3c.github.io/trusted-types/dist/spec/
- **Constituent BCD keys**: 44

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 83 | 2020-05-19 |
| Chrome Android | 83 | 2020-05-19 |
| Edge | 83 | 2020-05-21 |
| Safari | 26 | 2025-09-15 |
| Safari on iOS | 26 | 2025-09-15 |
| Firefox | 148 | 2026-02-24 |
| Firefox for Android | 148 | 2026-02-24 |

