.htaccess, Nginx & Vercel rules

Redirect Rule Generator

Paste your URL mapping and copy ready-to-deploy rules, with chain and loop checks built in.

Runs in your browserNothing is uploaded

Input

One redirect per line. Separate with a space, tab, comma, | or =>. Paths (/old) and full URLs both work.

Try an example
Server or platform

Needed for Cloudflare Bulk Redirects, which require full source URLs.

Output

Fill in the form or pick an example to generate the output.

Deployed? Verify every rule with the Redirect Map Checker
Free to use No account required Runs in your browser

Inspect redirect rules for a URL migration

Each pair is parsed, duplicates and self-redirects are rejected, and chains or loops across your list are flagged before any rule is written.

Interpret the result

Point every old URL straight to its final destination, deploy the rules on staging first, then verify them live.

Prioritize fixes

Rules are generated in your browser and never deployed for you; platform limits on query strings, regex and rule counts still apply.

How to interpret redirect rules for a URL migration

Each pair is parsed, duplicates and self-redirects are rejected, and chains or loops across your list are flagged before any rule is written.

Limits of this check

Rules are generated in your browser and never deployed for you; platform limits on query strings, regex and rule counts still apply.

Frequently asked questions

What does this tool check?

Each pair is parsed, duplicates and self-redirects are rejected, and chains or loops across your list are flagged before any rule is written.

How should I use the result?

Point every old URL straight to its final destination, deploy the rules on staging first, then verify them live.

What are the limits?

Rules are generated in your browser and never deployed for you; platform limits on query strings, regex and rule counts still apply.

Related URL tools and guides