Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

Clear-Site-Data Builder & Analyzer

Generate or analyze the Clear-Site-Data response header. Validates quoted targets (cache, cookies, storage, executionContexts, and the * wildcard), detects duplicates and wildcard combinations, and explains logout and secure-scope requirements locally.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the Clear-Site-Data analyser reports

Paste quoted targets such as "cookies", "storage" and "cache" and the analyser returns a table with each target, a Valid or Invalid verdict and the scope it wipes. Build mode takes the same comma-separated list, checks it and prints the joined header value ready to copy into a response.

Planning what a logout should clear

This is for the response that follows a sign-out or account reset, where the browser should drop stored data instead of leaving a half-authenticated session behind. Cookies and storage cover the usual case; add cache when a service worker or cached HTML would otherwise resurface.

Quoting, duplicates and the wildcard

Targets are compared case-insensitively against a fixed set, so an unquoted cookies is reported as invalid. Duplicate entries are flagged, and pairing the * wildcard with another target is called out as redundant because the wildcard already requests every supported type. Build mode refuses an empty list.

What the browser will actually do

The header is honoured only on secure responses, and it affects the origin that sent it rather than third-party data. A target the browser does not implement may simply be ignored, which is why unsupported names are marked Invalid instead of being guessed at.

Parsed inside this tab

The splitter and validator are plain page code: the header text you paste is inspected in the browser and never sent to a server, and the tool works with the network disabled.

Questions

When is Clear-Site-Data used?

Commonly on logout or account-reset responses to ask the browser to clear cookies, storage, or cache for the site.

What does the wildcard clear?

The * target requests clearing all supported data types; browsers that do not support a type may ignore it.

Does it work over plain HTTP?

No. Browsers require the response to be secure (HTTPS) and typically apply it only to the secure origin context.

See category