Redirect Chain Planner

Turn a list of old and new URLs into ready-to-paste redirect rules — and catch the mistakes first. Paste source and destination pairs or drop a CSV, and the planner finds redirect chains, loops, duplicates and self-redirects, collapses every chain to a single hop, and writes the rules for Apache .htaccess, Nginx, Netlify or Vercel. It runs in your browser.

Redirect status codes

CodeMeaningKeeps method
301Moved permanentlyNo (usually becomes GET)
302Found (temporary)No
307Temporary redirectYes
308Permanent redirectYes

When to use it

  1. Plan redirects for a site migration or URL restructure.
  2. Clean up years of accumulated redirect chains.
  3. Convert a spreadsheet of old and new URLs to server config.
  4. Check for loops before deploying.

How to Use

  1. Paste one redirect per line — from, to and optionally the status code — or drop a CSV.
  2. Review the chains, loops and duplicates found.
  3. Leave chain collapsing on and choose your server format.
  4. Copy or download the rules.

Features

  1. Chain detection and collapsing
  2. Loop detection
  3. Duplicate and self-redirect warnings
  4. Apache, Nginx, Netlify and Vercel output
  5. 301, 302, 307 and 308
  6. Spreadsheet paste and CSV drop
  7. 100% client-side

FAQs

What is a redirect chain?

When A redirects to B and B redirects to C. Each extra hop slows the page down and weakens the link signals passed to the final URL. The fix is to point A straight at C, which this tool does.

What causes a redirect loop?

A path of redirects that leads back to where it started, such as A → B → A. Browsers give up with a too-many-redirects error. The tool blocks the download until loops are fixed.

301 or 302?

301 (or 308) for permanent moves — they pass link equity. 302 (or 307) for temporary ones. 307 and 308 also keep the request method, which matters for forms and APIs.

Which format should I pick?

Apache for .htaccess, Nginx for your server block, Netlify for a _redirects file, Vercel for vercel.json.

Can I paste from a spreadsheet?

Yes. Copy the from and to columns (and optionally a code column) and paste — tabs, commas and spaces all work.

Is my data uploaded?

No. Everything is analyzed in your browser.

Technical Details

Redirect lists grow over years of migrations, and the two failures are invisible until production: chains, where a URL redirects to another URL that itself redirects, costing an extra round trip per hop and diluting the link signals search engines pass along; and loops, where the hops lead back to a URL already visited, which browsers abort with a too-many-redirects error. The planner reads one rule per line — source, destination and an optional status code, separated by spaces, commas or tabs, so two spreadsheet columns paste straight in — and builds a map of sources. It follows each destination through that map; a destination that is itself a source extends the chain, and reaching a URL already on the path is a loop. Paths are compared without the scheme and host and ignoring a trailing slash. Chains are collapsed so every source points straight at its final destination, and the collapsed rule stays temporary if any hop was a 302 or 307. Duplicate sources, self-redirects and unreadable lines are reported. Output is written for Apache, Nginx (exact-match location blocks or rewrite rules with the path regex-escaped), Netlify's _redirects and Vercel's vercel.json. It all runs in the page.

SEO Tools

SEO Tools

  • Slug Generator
  • UTM Builder
  • Open Graph Generator
  • Schema Markup Generator
  • Meta Tag Generator
  • Sitemap Generator
  • Canonical URL Builder
  • Heading Structure Checker