301 Redirect Generator

Bulk redirect rules for Apache, Nginx, Next.js, Vercel and Netlify.

SEOFreeNo sign-up
Loading tool…

Runs entirely in your browser — nothing you enter is uploaded or stored on a server.

How to use it

Paste old and new URLs to generate redirect rules for .htaccess, Nginx, Next.js, vercel.json, Netlify and Cloudflare. Detects chains, loops and duplicates so a site migration does not lose rankings.

  1. Paste one old URL and new URL per line, separated by a space, comma or tab.
  2. Choose the server or platform and permanent or temporary.
  3. Fix any chains or loops flagged, then copy the rules.
DevelopersMarketers

Questions

301 or 302?

Use 301 (or 308) when a page has moved for good so search engines transfer its signals. Use 302 (or 307) only for temporary moves.

Why are redirect chains bad?

Each hop slows the visitor down and crawlers may stop following after a few. Point every old URL straight at its final destination.