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

Referrer-Policy Builder & Analyzer

Generate or analyze Referrer-Policy response values. Validates all supported policy tokens, explains how a comma-separated list resolves to the last supported token, and flags unsafe-url and downgrade-leakage risks 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

Building or dissecting the header

Build mode turns the chosen policy token into a usable Referrer-Policy value and reports how many tokens it contains and which one is effective. Analyze mode takes a pasted value — including a comma-separated fallback list — and returns a table of Policy, Status (Valid or Invalid) and Behaviour for each token, with its issues in the notes.

Auditing how much URL you leak

Use it when you are adding security headers and want to know exactly which Referer a browser will send in each case, when a third-party analytics vendor needs more referrer detail than your current policy allows, or when a penetration-test report flags referrer leakage and you need the tightest policy that still works.

Options

Mode picks analyze or build, and Policy selects one of the eight standard tokens for build mode. Build mode refuses to emit a value it would itself flag, so unsafe-url cannot be produced through the builder without the tool telling you why it is risky.

What the checks look for

Unknown tokens are marked Invalid, duplicates are called out, unsafe-url is flagged because it sends full URLs cross-origin, and no-referrer-when-downgrade is flagged as the legacy default that leaks more than modern policies. The effective token is the last one a browser recognises. The tool explains the header but never fetches your site.

Analysed in your tab

The value is parsed locally and nothing is uploaded, so you can check a header from an internal or pre-release site without exposing it. It works offline.

Questions

What is the recommended default?

strict-origin-when-cross-origin is the common recommendation: it sends origins on cross-origin requests and full URLs same-origin.

Why list multiple policies?

The browser applies the last supported token, so a list can express a preferred policy with fallbacks for older browsers.

Why is unsafe-url risky?

It sends full URLs, potentially including paths, queries, or tokens, on cross-origin requests.

See category