Clearing site dataLimited availability
The Clear-Site-Data header deletes browsing data (such as cookies, storage, or cache) associated with the requesting website.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
1–137Not supported
138+Supportedsince Apr 29, 2025
Current: 157Safari
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
4–137Not supported
138+Supportedsince Apr 29, 2025
Current: 157Safari iOS
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27How to use
Not supported in Chrome, Edge, Chrome Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: Clear-Site-Data.
Feature detection
There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.
Sub-features
Support for each part of the feature (8). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| http.headers.Clear-Site-Data | 61 | 79 | 63 | 17 | 61 | 63 | 17 |
| http.headers.Clear-Site-Data.cache | ✕ | ✕ | 138 | 17 | ✕ | 138 | 17 |
| http.headers.Clear-Site-Data.clientHints | 117 | 117 | ✕ | ✕ | 117 | ✕ | ✕ |
| http.headers.Clear-Site-Data.cookies | 61 | 79 | 63 | 17 | 61 | 63 | 17 |
| http.headers.Clear-Site-Data.executionContexts | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| http.headers.Clear-Site-Data.secure_context_required | 61 | 79 | 63 | 17 | 61 | 63 | 17 |
| http.headers.Clear-Site-Data.storage | 61 | 79 | 63 | 17 | 61 | 63 | 17 |
| http.headers.Clear-Site-Data.wildcard | ✕ | ✕ | 63 | 17 | ✕ | 63 | 17 |