301 Redirect Generator
Use this 301 redirect generator when moving pages or a whole site: paste old and new addresses and get correct redirect rules for your server or host. Query strings, HTTPS and www rules are handled, and loops are detected.
🔒 Your files are processed on your device and are never uploaded.
How to use
- 1Paste old → new URL pairs, or open a CSV.
- 2Choose your server or host and the redirect type (301 for permanent).
- 3Copy the rules into the right file and test a few old links.
Frequently asked questions
Why use 301 redirects when changing URLs?
They send visitors and Google to the new page and pass on most of the old page's ranking. Without them, old links show a 404 error.
Can I redirect URLs with ?id= query strings?
Yes. Apache, Nginx, Vercel and Next.js rules match the query string exactly.
Is my data sent anywhere?
No. Everything runs in your browser, so your text and code stay on your device.