Referrer Policy Generator

Pick a Referrer-Policy value and get header/meta/server snippets.

Support
Works Offline
Privacy First
No Login
No API

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

YAML
Referrer-Policy: strict-origin-when-cross-origin

HTML meta tag

<meta name="referrer" content="strict-origin-when-cross-origin">

Nginx

Nginx config
add_header Referrer-Policy "strict-origin-when-cross-origin" always;

Apache

Header always set Referrer-Policy "strict-origin-when-cross-origin"

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-origin

Output

YAMLReferrer-Policy: strict-origin-when-cross-origin

Keyboard 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

Frequently asked questions

Comments

No login needed. Comments appear after a quick review.

Protected by an on-site captcha — no third-party trackers.

Optional: get an alert when your comment is published or replied to, plus new tool announcements. No sign-up.

Loading comments…

Version 1.0.0 · Updated 2026-08-10 · Runs entirely in your browser