Free Redirect Rule Generator
Enter old and new URLs, pick your server platform, and export ready-to-paste redirect rules with chain and duplicate detection.
How to Use Redirect Generator
Enter the old URL and the new destination for each redirect. Add as many rows as you need or paste in bulk.
Select 301 (permanent) or 302 (temporary). Use 301 for SEO migrations to transfer link equity.
Choose your server platform: Apache, Nginx, Vercel, Netlify, Cloudflare or Next.js.
The tool flags duplicate sources and redirect chains automatically. Copy or download the rules for your server.
Why Use Redirect Generator
Use every feature without creating an account or handing over your email. No paywalls, ever.
Nothing is uploaded to a server. Your text stays on your device, keeping your data private.
Everything processes locally so results appear in real time with zero waiting.
No daily caps, word limits or feature gates. Use the tool as much as you need.
Export rules for Apache, Nginx, Vercel, Netlify, Cloudflare and Next.js from a single set of redirects.
Automatically detects redirect chains and suggests how to simplify them into direct redirects.
Paste hundreds of redirects at once using CSV or tab-separated format for large migrations.
Frequently Asked Questions
What is the difference between 301 and 302 redirects?
A 301 redirect is permanent and passes full link equity to the destination. A 302 is temporary and tells search engines the original URL may return. Use 301 for permanent URL changes and 302 for short-term moves.
What is a redirect chain?
A redirect chain happens when URL A redirects to URL B, which then redirects to URL C. Each hop adds latency and can dilute link equity. This tool detects chains so you can simplify them to a single redirect.
Which output format should I choose?
Choose the format that matches your hosting: Apache (.htaccess) for shared hosting, Nginx for VPS servers, Vercel/Netlify/Cloudflare for JAMstack deployments, and Next.js for apps using the Next.js framework.
Can I paste redirects in bulk?
Yes. Switch to Bulk mode and paste one redirect per line with the old and new URLs separated by a tab or comma. The tool parses them into rows automatically.
Does this tool validate my URLs?
The tool checks for duplicate source URLs and redirect chains. It does not validate that the destination URLs are live — you should test your redirects after deploying them.
More Free Tools
Robots.txt Generator
Create a valid robots.txt file for your website in seconds. Add rules for specific crawlers, block folders and include your sitemap URL.
Sitemap Generator
Create a valid XML sitemap for your website. Add URLs with priority and change frequency, then download a sitemap.xml file ready to submit to Google.
.htaccess Redirect Generator
Generate Apache .htaccess redirect rules for 301, 302 and 307 redirects. Supports single URLs, pattern-based and domain-level redirects.
Schema Markup Generator
Generate valid JSON-LD schema markup for articles, FAQs, products, local businesses and more. Copy the code and paste it into your page head.
Tired of manual SEO?
RankMyBlog writes and publishes blog posts on your domain — on autopilot.