Copied!
Free Tool • No Registration • Server-Side Analysis

Referrer Policy Checker & Privacy Header Validator

Analyze Referrer-Policy headers, detect data leakage risks, and validate your website's privacy configuration instantly

Try:

Why Use Our Referrer Policy Checker?

Server-Side

Real headers fetched via cURL

Meta Tag

Detects HTML meta referrer tags

Privacy Score

Weighted 0–100 privacy rating

Policy Ref

All 8 policies compared

Batch Check

Audit up to 10 URLs at once

100% Free

No limits, no registration

How to Check Your Referrer Policy

1

Enter URL

Paste any website URL or pick a sample to start.

2

Server Fetches

PHP backend retrieves real headers and HTML meta tags.

3

See Analysis

View score, policy value, data leakage risks and issues.

4

Apply Fix

Copy the recommended header config for your server.

Referrer Policy Checker — How Referrer-Policy Headers Protect Your Website's Privacy

Every time a user clicks a link on your website and navigates to another destination, their browser may silently send information about where they came from. That information, contained in the HTTP Referer request header (historically misspelled without the second "r"), can expose page paths, query strings, authentication tokens, search terms, user identifiers, and other sensitive data to third-party servers. The Referrer-Policy header gives website owners precise control over how much of this information gets transmitted — and verifying that your configuration is correct is exactly what a dedicated referrer policy checker tool does.

Web privacy regulations including GDPR, CCPA, LGPD, and PIPEDA have raised the stakes significantly for any website that processes personal data. Leaking URLs containing user session identifiers or personal data to analytics platforms, advertising networks, or external CDNs through uncontrolled referrer headers can constitute a data breach under these frameworks. A free online referrer privacy test helps developers and compliance teams identify these risks before regulators or attackers do.

What Does the Referrer-Policy Header Actually Control?

The check HTTP referrer header operation is deceptively simple — the header's value looks like a single keyword or comma-separated list of keywords. But the behavior it controls varies dramatically across eight distinct policy values, three types of navigation (same-origin, cross-origin HTTPS, and cross-origin downgrade to HTTP), and two header formats (the HTTP header and the HTML meta tag equivalent). A referrer policy validator tool must understand all these dimensions to give accurate results.

When no policy is explicitly set, modern browsers (Chrome 85+, Firefox 87+, Safari 14+) default to strict-origin-when-cross-origin. Older browsers and some enterprise configurations may default to no-referrer-when-downgrade, which sends the full URL to HTTPS destinations. This means that even sites that believe they have adequate privacy protection may unknowingly be leaking full URLs including query parameters to every HTTPS third-party resource they load — Google Fonts, jQuery CDN, analytics scripts, and advertising pixels all receive the full URL of the page the user was visiting. This is precisely the type of website data privacy scanner capability that can expose unexpected data flows.

What Are the Eight Referrer-Policy Values and When Should You Use Each?

Understanding the full range of policy values is essential for making informed configuration decisions. no-referrer sends absolutely no referrer information under any circumstances — maximum privacy, but breaks analytics tracking and some third-party features. no-referrer-when-downgrade sends the full URL when navigating to HTTPS destinations but nothing when downgrading to HTTP — the old browser default that exposes query strings to all HTTPS third parties. origin sends only the scheme and host (e.g., https://example.com) without path or query to all destinations, including HTTP ones. origin-when-cross-origin sends the full URL to same-origin destinations and only the origin to cross-origin destinations — a good balance for many sites.

same-origin sends the full URL only to same-origin requests and nothing to cross-origin destinations — strong privacy for cross-origin but analytics tools on different subdomains lose referrer data. strict-origin sends only the origin to HTTPS destinations and nothing when downgrading — strong privacy with HTTP downgrade protection. strict-origin-when-cross-origin (the current browser default and recommended value) sends the full URL same-origin, only the origin cross-origin to HTTPS, and nothing on HTTP downgrade — the best balance of functionality and privacy for most sites. unsafe-url sends the complete URL including path and query to all destinations regardless of origin or protocol — maximum data leakage, never recommended for production use.

Our check secure referrer setup online tool evaluates which of these policies is actually in effect on your website, accounting for the fact that multiple values can be specified as a comma-separated fallback list, with browsers using the last value they recognize.

How Does the Tool Detect Referrer Policy Configuration?

A proper free referral link privacy checker must check multiple sources because the Referrer-Policy can be configured at several different levels. The tool checks three distinct sources in priority order: the HTTP response header, the HTML meta tag (<meta name="referrer" content="...">), and link/anchor tag attributes (rel="noreferrer"). Our server-side PHP engine fetches both the HTTP headers and the page body, parsing the meta tag from the HTML using pattern matching that correctly handles both attribute orderings (name-then-content and content-then-name).

When you analyze referrer directives online, the tool also handles edge cases that simpler tools miss: comma-separated multiple values (browsers use the last recognized value), case variations in policy names (browsers typically treat these case-insensitively), and the interaction between the HTTP header and meta tag when both are present (the HTTP header takes precedence per the W3C specification). All of this runs server-side to bypass CORS restrictions that would prevent browser-based JavaScript from reading cross-origin response headers directly.

What Privacy Risks Come from an Incorrect Referrer Policy?

The consequences of misconfigured referrer headers extend far beyond theoretical risk. When you test website information leak free using our analyzer, several critical attack scenarios become visible. Authentication tokens embedded in URLs — a common pattern in password reset flows, email verification links, and OAuth callbacks — get silently forwarded to every resource loaded on the destination page when the policy allows full URL transmission. If your site uses URLs like https://example.com/reset?token=abc123 and the user navigates away while the password reset is open, that token may be sent to third-party analytics and advertising services on the destination site.

Search query parameters represent another significant privacy leak. When a user searches your internal site using a URL like https://shop.example.com/search?q=personal+health+condition and then clicks an affiliate link, the full search query may be transmitted in the Referer header if no restrictive policy is set. For healthcare, legal, or financial services websites, this creates serious HIPAA, attorney-client privilege, or regulatory exposure. Checking privacy policy headers online with a server-side tool reveals whether these leaks are occurring in production.

Cross-origin tracking is a subtler but pervasive issue. When a website loads analytics scripts, social sharing widgets, comment systems, or advertising tags from third-party origins, each of those requests includes the current page URL in the Referer header by default. This enables the third parties to build detailed profiles of user behavior across your entire site — knowing not just that a user visited your site, but which specific pages they visited, in what order, and with what parameters. A free browser referrer control check quantifies this exposure by showing exactly what the effective policy is and what data it permits to be transmitted.

How Should You Configure Referrer-Policy for Different Types of Websites?

When you check source link data privacy for a website, the recommended fix depends significantly on the site's purpose and dependencies. For most modern websites, strict-origin-when-cross-origin is the optimal choice because it balances analytics needs with strong cross-origin privacy. This value is already the browser default in Chrome, Firefox, and Safari, but explicitly setting it in the HTTP header ensures consistent behavior regardless of browser version or configuration and signals intentional configuration to security auditors.

Privacy-focused applications — healthcare portals, legal platforms, financial services, mental health resources, and any site handling personally identifiable information — should consider no-referrer or same-origin to prevent any URL data from reaching cross-origin destinations. The trade-off is reduced referrer data in analytics platforms, but this is a reasonable sacrifice for handling sensitive data. Our free header security analyzer can quantify this trade-off by showing exactly what data the current and alternative policies would transmit.

E-commerce sites face a particular tension. Product and category URLs often contain identifying information about user preferences and purchase intent, yet affiliate programs, advertising platforms, and comparison shopping engines specifically require referrer data to function correctly. The solution is typically origin-when-cross-origin which sends only the domain to cross-origin destinations (satisfying fraud prevention requirements) while keeping the full URL available for same-origin analytics and A/B testing systems. When you test web application privacy headers on an e-commerce platform, this policy represents a sensible middle ground.

How Does Referrer-Policy Interact with rel="noreferrer" on Links?

An important nuance that distinguishes thorough privacy analysis from superficial header checking: the rel="noreferrer" attribute on individual anchor tags can override the site-wide Referrer-Policy header for specific links. When a link has rel="noreferrer", the browser sends no referrer information for that navigation regardless of what the header policy specifies. Similarly, rel="noopener noreferrer" combines cross-origin isolation (preventing the new window from accessing window.opener) with referrer suppression.

Our tool detects the presence of link rel="noreferrer" in the page source and reports it separately from the header policy, giving a complete picture of referrer control at both the site level and the link level. This combined inspect website tracking policy view is critical for sites that implement some privacy protections but may have inconsistencies between their header configuration and link markup.

Why Does the Source of the Referrer-Policy Matter — Header vs Meta Tag?

Both the HTTP header and the HTML meta tag can set the Referrer-Policy, but they have different scopes and precedence rules. When you verify cross origin privacy online, the source matters for several reasons. The HTTP header applies to all subresources loaded by the page — scripts, images, stylesheets, XHR requests — as well as navigation from the page. The meta tag applies to all navigation from the page but may behave differently for subresource requests in some browsers.

Additionally, the HTTP header can only be set server-side (in web server configuration, middleware, or application code), while the meta tag is embedded in HTML and can be set by CMS themes, page builders, or front-end code. For sites using CDNs or static hosting where HTTP headers are harder to configure, the meta tag provides a viable alternative — but it's less authoritative and may behave inconsistently across different resource loading contexts. A comprehensive referrer policy debugger distinguishes between these sources and explains the implications of each.

How to Implement Referrer-Policy Correctly on Different Server Platforms?

When you check dynamic referrer settings and find that the policy is missing or misconfigured, the fix depends on your server architecture. On Nginx, add add_header Referrer-Policy "strict-origin-when-cross-origin" always; to your server or location block — the always parameter ensures the header is set even for error responses. On Apache with mod_headers enabled, use Header always set Referrer-Policy "strict-origin-when-cross-origin" in your VirtualHost or .htaccess configuration.

For Node.js/Express applications, the helmet middleware package sets Referrer-Policy: no-referrer by default and can be configured with helmet.referrerPolicy({ policy: 'strict-origin-when-cross-origin' }). Django sets headers via middleware or the SECURE_REFERRER_POLICY setting (set to 'strict-origin-when-cross-origin'). PHP applications can use header('Referrer-Policy: strict-origin-when-cross-origin'); before any output.

For WordPress sites, the policy can be added via the send_headers action hook in a functions.php snippet or via security-focused plugins. Cloudflare allows header injection through Transform Rules, and most major CDNs support header manipulation at the edge. After implementing any change, use our free referrer configuration check to verify the header is being served correctly on the actual live site — server configuration issues like caching headers, multiple VirtualHost blocks, or .htaccess override restrictions can prevent the header from being delivered even when the configuration appears correct.

What Is the Relationship Between Referrer-Policy and Other Privacy Headers?

The check website data leakage tool audit goes beyond just the Referrer-Policy because web privacy is a layered concern. A complete privacy header configuration involves multiple headers working together. Content-Security-Policy limits where your page can send data through fetch, XHR, and form submissions. Permissions-Policy controls access to browser APIs that could be used for fingerprinting. Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy control cross-origin access to your resources. Together with Referrer-Policy, these form a comprehensive privacy header stack.

Our tool shows the status of all these related headers alongside the Referrer-Policy analysis, giving security teams and privacy officers a holistic view of the site's privacy posture. The combined privacy score accounts for both the referrer policy itself and the presence of complementary privacy-enhancing headers. This online data privacy header test approach reflects how privacy auditors and regulatory examiners evaluate websites — comprehensively rather than in isolation.

Regular use of a free secure link tracker check tool as part of website maintenance catches regressions that commonly occur after server migrations, infrastructure changes, CMS updates, or theme upgrades that can inadvertently remove header configurations. Treating privacy header auditing as a routine operational task — rather than a one-time setup — ensures that your website's privacy protections remain effective as the site evolves.

Frequently Asked Questions

The Referrer-Policy HTTP header controls how much referrer information (the URL of the page the user was on) is included in the Referer request header when navigating to or loading resources from other origins. It protects user privacy by limiting URL data exposure to third-party servers, analytics platforms, and advertising networks.

strict-origin-when-cross-origin is the W3C recommended and modern browser default value. It sends the full URL for same-origin requests (needed for analytics), only the origin for cross-origin HTTPS requests, and nothing when downgrading from HTTPS to HTTP. This balances analytics functionality with strong cross-origin privacy protection.

unsafe-url sends the complete URL including path, query string, and fragment to every destination regardless of origin or protocol. This is the most privacy-invasive policy — it exposes sensitive URL parameters, authentication tokens, and user paths to all third-party servers. It should never be used on production websites handling any form of personal data.

Yes. You can use <meta name="referrer" content="strict-origin-when-cross-origin"> in the <head> of your HTML. The HTTP header takes precedence over the meta tag when both are present. The meta tag is useful for static hosting environments where HTTP headers are difficult to configure, but the HTTP header is the more authoritative and consistent approach.

Referrer-Policy doesn't directly affect search engine rankings. However, very restrictive policies like no-referrer reduce traffic source data visible in analytics platforms, making it harder to attribute organic search traffic. strict-origin-when-cross-origin sends the origin to external analytics, preserving campaign tracking while protecting full URL paths from leaking to third parties.

Modern browsers (Chrome 85+, Firefox 87+, Safari 14+) default to strict-origin-when-cross-origin when no policy is specified. Older browser versions defaulted to no-referrer-when-downgrade, which sends full URLs to all HTTPS destinations. Explicitly setting the header ensures consistent behavior regardless of which browser version visitors use.

Nginx: add_header Referrer-Policy "strict-origin-when-cross-origin" always;. Apache: Header always set Referrer-Policy "strict-origin-when-cross-origin". Node.js/Express: use the helmet middleware with referrerPolicy({ policy: 'strict-origin-when-cross-origin' }). WordPress: add a hook in functions.php. After adding, verify using our checker to confirm it's being served correctly.

origin sends only scheme+host to all destinations including HTTP (no downgrade protection). strict-origin also sends only scheme+host but adds HTTPS→HTTP downgrade protection — it sends nothing when navigating from a secure HTTPS page to an insecure HTTP destination, preventing secure page information from leaking over unencrypted connections.

Yes — cross-origin behavior is the primary reason Referrer-Policy exists. Without it, the full URL would be sent with every cross-origin request including to analytics scripts, advertising pixels, embedded videos, CDN resources, and social widgets. Policies like origin-when-cross-origin and strict-origin-when-cross-origin specifically limit what's sent to cross-origin destinations while preserving more information for same-origin requests.

Use our free Referrer Policy Checker above. Enter your website URL and the server-side PHP engine fetches real HTTP response headers plus HTML meta tags, identifies the effective policy, calculates a privacy score, detects data leakage risks, and provides server-specific implementation code. The Raw Analyzer tab lets you test any policy value string, and the Batch Check audits up to 10 URLs simultaneously.