Referrer Policy Generator
Pick a Referrer-Policy value and get header/meta/server snippets.
Choose a Referrer-Policy
strict-origin-when-cross-origin (modern browser default)
Sends the full URL for same-origin requests, only the origin for cross-origin requests, and nothing when downgrading to HTTP.
Generated snippets
HTTP header
HTML meta tag
Nginx
Apache
About the Referrer Policy Generator
Choose a Referrer-Policy value with a plain-English explanation of exactly what referrer information leaks to destination sites, then get ready-to-use HTTP header, HTML meta tag, Nginx, and Apache snippets.
Examples
Strict policy
strict-origin-when-cross-originOutput
Referrer-Policy: strict-origin-when-cross-originKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
CORS Config Generator
Security
Generate CORS headers/config for Nginx, Apache, Express, or Workers.
CSP Builder
Security
Build a Content-Security-Policy header from per-directive sources.
Permissions-Policy Header Generator
Security
Build a Permissions-Policy header controlling camera, geolocation and more.
Robots.txt Security Checker
Security
Scan robots.txt for accidental disclosure of sensitive paths.
Security Headers Auditor
Security
Grade HTTP response headers against security best practices.
X-Frame-Options / Clickjacking Checker
Security
Check if X-Frame-Options and CSP frame-ancestors block framing.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-10 · Runs entirely in your browser