Redirect Map Flattener: Find Chains and Loops in a Redirect List

Checks a redirect list for chains (A to B to C) and loops (A to B to A) and outputs rules where each old URL goes directly to the final URL.

Use the tool

Why this tool exists

Migrations pile redirects on redirects. Each extra hop slows visitors and wastes crawl effort, and Google advises keeping chains to three hops or fewer. A loop breaks the page completely.

This tool works on the list you paste, so you can fix the map before it goes live. To follow redirects on a real URL, use the Redirect Chain Analyzer with curl output. Matching uses host, path and query exactly as written, with an option to ignore the trailing slash.

How to use it

  1. Paste your redirect pairs, one per line.
  2. Review the chains and loops.
  3. Copy the flattened rules and replace the old list.

Frequently asked questions

What counts as a chain?

A rule whose target is itself the source of another rule. The tool follows it to the end.

What happens to loops?

They are listed and left out of the flattened rules, because they have no valid destination. Fix them by hand.

Does it request the URLs?

No. It only reads the list you paste.

How many hops does Google follow?

Up to 10, but its site move guide advises three at most in practice.