Code · Made a little simpler

Redirect Generator

Import old and new paths, choose response codes, and check the generated configuration for duplicate sources, chains and loops.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Enter exact paths. The destination origin field is for a move to another site you control.

Bulk import

Use one CSV, arrow or space-separated pair per line. A missing status uses 301.

Rule 1

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Redirect Generator: how to use it

  1. Enter the source origin. Set a destination origin when you move to another site you control.
  2. Enter exact source and destination paths or import one pair per line. Select 301, 302, 307 or 308 for each rule.
  3. Choose a platform and generate the rules. Review the chain notices and save the configuration for your project.

Limits and notes

Up to 250 exact rules. Use plain paths and optional plain key=value destination queries. Source paths are checked without regard to case or a final slash for conflicts. The workspace checks the supplied map locally.

How your privacy works →

Redirect Generator: common questions

What platforms can I export?

The tool writes Apache mod_alias directives, Nginx location blocks, a Next.js configuration module, and a Vercel redirects JSON object.

When should I use 307 or 308?

The HTTP 307 and 308 status codes preserve the request method. A 307 describes a temporary move and a 308 describes a permanent one.

How are chains and loops handled?

A same-origin destination that points to another listed source gets a chain notice. Correct loops and duplicate sources before exporting.

Guides