Open source · SEO & Search

Redirect Chain Mapper

Map redirect chains and loops from an exported request trace.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Read a captured trace — a HAR 1.2 export or a small JSON trace — and draw the redirect chains it actually contains: where each one starts, every hop it takes, how many hops that is, whether it closes into a loop, whether it changes scheme, and where it ends.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

node bin/redirect-chain-mapper.mjs --trace examples/clean/trace.json