Skip to content

Free 301 Redirect Generator

Paste old and new URLs and get permanent redirect rules for Apache, Nginx, Next.js, Vercel, Netlify, Cloudflare and more.

  • Free, no sign-up
  • Runs in your browser; nothing is uploaded
  • Updated Oct 25, 2026

Status

Next.js

Add URL pairs to generate rules.

How to use the 301 redirect generator

  1. 1

    Paste URL pairs

    Old URL and new URL per line, separated by a space or comma.

  2. 2

    Pick your platform

    .htaccess, Nginx, Next.js, Vercel, Netlify, Cloudflare, Express.

  3. 3

    Copy the rules

    Then test a few with the redirect checker.

Redirects for migrations and renames

When a URL changes, a permanent (301 or 308) redirect sends visitors and search engines to the new one and carries its ranking signals over. Map every old URL that has traffic or links to its closest new page, not all to the home page.

Rules are generated with paths only when old and new are on the same site, and with full URLs when they move to another domain.

Questions

301 or 308?

Both are permanent. 308 keeps the request method; for pages, they behave the same in search.

How many redirects can I add?

As many as you paste. Very large maps are better served from a lookup table than thousands of rules.

How long should I keep redirects?

At least a year, and ideally for good if the old URLs have links.

Is anything uploaded?

No. Rules are built in your browser.

All free tools

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.