301 redirect generator
The 301 redirect generator writes permanent and temporary redirect rules for Apache, Nginx, Next.js, and Vercel from the old and new URLs you give it, one at a time or in bulk.
- Free, no sign-up
- Runs in your browser
- Generator · 35 free tools
Paste a list above or fill From and To. The file appears here so you can copy or download it.Once the file is live, check that the page actually serves it, and that nothing else on the page undoes it. Plans start at $14.99 a month.
How to use the redirect generator
- 1
Fill in the fields
Or press Load example to see a finished version you can edit.
- 2
Watch the output
The file updates as you type, and missing required fields are flagged.
- 3
Copy or download
Use the buttons on the output box. Nothing is sent to us unless you press Save.
- 4
Add it to your site
Paste it where the guide says, then check it with the matching checker.
What this does not measure
We would rather say what a tool cannot see than let a clean result mislead you.
- It writes the rule. It does not prove the rule works, because it never touches your server.
- It does not look up where a URL currently points. Use the redirect chain checker for that.
Want the full picture?
This tool answers one question. A full audit runs every check on a page, scores it, and gives you a short list of what to fix first.
Questions about the redirect generator
More in the guides.
Keep reading

Redirect chains and loops: 301 vs 302 vs 308, and how many hops is too many
Use 301 or 308 for permanent moves, redirect straight to the final URL, and keep any chain under five hops.

HTTP status codes for SEO: 404 vs 410, soft 404s, 5xx, and 429
Google treats 404 and 410 the same. 5xx and 429 slow crawling. A 200 error page is a soft 404.