↪⚙
Redirect Rules Generator
301/302 redirects for nginx, Netlify, Vercel, Caddy and Next.js.
3
Redirects
0
Loops
0
Chains (A→B→C)
Runs entirely in your browser. Nothing is sent anywhere.
How it works
- 1Paste or type your text.
- 2Choose the options you need.
- 3Copy or download the result.
About this tool
Redirect Rules Generator: 301/302 redirects for nginx, Netlify, Vercel, Caddy and Next.js. Paste your text and the result appears immediately, ready to copy or download. Everything happens locally in your browser — nothing you paste is uploaded or stored.
Example
Input
/old-page.html /new-page/ /blog/2019/post /articles/post /shop https://shop.example.com/
Output
location = /old-page.html { return 301 /new-page/; }
location = /blog/2019/post { return 301 /articles/post; }
location = /shop { return 301 https://shop.example.com/; }
How do I use the Redirect Rules Generator?
Paste or type your text. Choose the options you need. Copy or download the result.
Is the Redirect Rules Generator free?
Yes. It is completely free with no sign-up, no usage limits and no watermark.
Is my data sent to a server?
No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.