Skip to content
Payload Playground

Open Redirect Payload Generator

Web

Craft open redirect payloads with protocol-relative and domain bypass tricks.

Related Generators

View all Web

Frequently Asked Questions

What is an open redirect vulnerability?+

An open redirect happens when an app takes a user-controlled URL (often a redirect, next, returnUrl or url parameter) and sends the browser there without validating the destination. Attackers abuse it to bounce victims from a trusted domain to an attacker-controlled site, powering convincing phishing, OAuth token theft, and SSRF chains.

How do I bypass open redirect filters with this generator?+

The Open Redirect generator produces classic bypass tricks: protocol-relative URLs like //evil.com, backslash confusion such as /\evil.com and https:/\evil.com, the @ trick (https://[email protected]), and whitelist tricks like evil.com#trusted.com or evil.com?trusted.com. These defeat naive startsWith() and substring allowlist checks.

Why are open redirects dangerous in OAuth and SSO flows?+

If a redirect_uri or post-login next parameter is not strictly matched, an attacker can register a malicious return URL and exfiltrate the authorization code or token in the URL fragment or query. This turns a low-severity redirect into account takeover, which is why allowlists must be exact-match, not prefix or substring checks.

Is the Open Redirect generator free and private?+

Yes. Like every Payload Playground tool it is completely free and runs 100% in your browser, so nothing you type is ever sent to a server. Only use the generated payloads against applications you own or are explicitly authorized to test.

Related Cheat Sheets

View all cheat sheets

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/generators/open-redirect) and your browser. If you’re signed in, we include your account ID and plan so support can prioritize Pro requests. Please leave out secrets and client data.