Custom highlights
Custom highlights style arbitrary text ranges, without adding extra elements to the DOM.
Status
Baseline Newly Available (since 2026-03-24)
This feature is expected to reach Baseline Widely Available status on: 2028-09-24
MDN documentation
Specifications
Browser support
- Chrome 105 Released on 2022-09-02
- Chrome Android 105 Released on 2022-09-02
- Edge 105 Released on 2022-09-01
- Firefox 149 Released on 2026-03-24
- Firefox for Android 149 Released on 2026-03-24
- Safari 17.2 Released on 2023-12-11
- Safari on iOS 17.2 Released on 2023-12-11
Surveys
Usage (according to Chrome Platform Status)
~0.030% of page loads. More data at chromestatus.com.Interop
- Included in Interop 2026
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist