Tested tool guide
Tested browser tools
Checked August 16, 2026
What Referrer Policy Generator does, with a checked example
The Referrer-Policy header tells browsers how much of the referring URL to attach to outgoing requests as the Referer header. This tool lists every policy value, from no-referrer to unsafe-url, and for each shows what gets sent on same-origin, cross-origin, and HTTPS-to-HTTP downgrade requests, then hands you the header line plus the meta-tag and attribute forms ready to paste. The thing most people get wrong: browsers already default to strict-origin-when-cross-origin, so setting a policy is almost always a deliberate tightening - and origin and strict-origin differ only in what happens when a request drops to plain HTTP.
Worked example
A concrete input and expected output from the current implementation.
Input
Select origin-when-cross-origin, then enter https://example.com/blog/post?ref=home as the page URL.
->
Expected output
Referrer-Policy: origin-when-cross-origin
Same-origin request (https://example.com/...): sends https://example.com/blog/post?ref=home - full URL
Cross-origin HTTPS request (https://analytics.example.net): sends https://example.com - origin only
HTTPS-to-HTTP request (http://legacy.example.net): sends https://example.com - origin still sent
origin-when-cross-origin sends the full URL only when the destination is the same origin and truncates to the origin for every different-origin destination. The HTTPS-to-HTTP case is cross-origin because the scheme is part of the origin, so the origin still goes out - only no-referrer-when-downgrade and the strict- values suppress the referrer on downgrades.