Redirect Generator

Turn a list of old and new URLs into 301 redirects for Apache, nginx, Caddy, Netlify, Vercel, Cloudflare or WordPress, with the chains shortened and the loops and conflicts found

Old and new URLs
Drop a CSV or Excel file or click to pick it. Read on your device, never uploaded.
One redirect per line: the old URL, then the new one, separated by a tab (two columns pasted from a spreadsheet), a comma, spaces or an arrow. A status code may follow; 410 alone says the page is gone for good. Other columns are left out, a header row too.
Optional. Its full URLs are then read as its own, and Cloudflare needs it for paths.
For the lines that don't give one. A move is permanent: 301 or 308.
Before you switch

Redirect each old page to the page that replaces it, not to the homepage: Google treats a redirect to an unrelated page as a missing page (a soft 404) and drops what the old one had earned. A page with no successor can answer 410, gone for good.

Keep the redirects for a year at least, and update your own links, sitemap and canonical tags to the new URLs, so that visitors and crawlers don't go through a redirect at all.

Once deployed, try a few old URLs with the Redirect Checker: each should reach its new page in one step, with the status you chose.