Clear-Site-Data
type: TechArticle
description: Clear-Site-Data lets a response tell the browser to wipe cookies, storage, and caches for your origin. Send it on logout so a shared device keeps nothing behind.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-06-22T00:00:00.000Z
citation: Clear Site Data (W3C Working Draft)
  type: CreativeWork
  publisher: W3C
citation: MDN — Clear-Site-Data
  type: CreativeWork
  publisher: MDN
citation: OWASP Secure Headers Project — Clear-Site-Data
  type: CreativeWork
  publisher: OWASP

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Security
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/security/
item list element: Clear-Site-Data
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/security/clear-site-data/