---
id: "parse-html-unsafe"
kind: "web-feature"
canonical: "https://timetostable.com/feature/parse-html-unsafe"
baseline: "low"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Unsanitized HTML parsing (`parse-html-unsafe`)

The Document.parseHTMLUnsafe() static method parses HTML into a DOM tree, much like the setHTMLUnsafe() DOM method inserts HTML into an existing tree. No sanitization applies, so never call it with user-provided strings.

- **Group**: other
- **Baseline**: Newly Available
- **Newly Available Date**: 2025-09-15
- **Specification**: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 124 | 2024-04-16 |
| Chrome Android | 124 | 2024-04-16 |
| Edge | 124 | 2024-04-18 |
| Firefox | 128 | 2024-07-09 |
| Firefox for Android | 128 | 2024-07-09 |
| Safari | 26 | 2025-09-15 |
| Safari on iOS | 26 | 2025-09-15 |

