Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitSEORedirect Rules Generator

Redirect Rules Generator

Old to new URL pairs as .htaccess, Nginx, Vercel, Netlify, Cloudflare and Next.js rules. Runs entirely in your browser, so nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use Redirect Rules Generator

  1. 01Paste old and new URLs into Old → new URLs, one pair per line or straight from a CSV.
  2. 02Choose a Default status code such as 301 Permanent, and add a third column to override a row.
  3. 03Pick your platform tab: Apache, Nginx, Vercel, Netlify, Cloudflare or Next.js.
  4. 04Copy or save the rules and fix any loop, chain or duplicate warnings shown below them.
Questions

Redirect Rules Generator FAQ

6 answers to what people ask most about the Redirect Rules Generator.

What is the difference between a 301 and a 302 redirect?

A 301 says the page moved permanently, so search engines move its rankings to the new URL. A 302 says the move is temporary and the old URL should stay indexed.

When should I use 307 or 308?

They are the modern versions of 302 and 301 that keep the request method, which matters for forms and APIs. Next.js and Vercel use 308 and 307 by default.

How do I add a 301 redirect in .htaccess?

Turn on RewriteEngine and add a RewriteRule with [R=301,L] for each old path. Paste the Apache output at the top of the .htaccess file in your site root.

What is a redirect chain?

When one redirect leads to another, such as A to B to C. Each hop slows visitors and can lose link value, so the tool flags chains and suggests pointing A straight at C.

Do redirects keep query strings?

Yes, by default the original query string is passed to the new URL on Apache, Nginx, Vercel, Netlify and Next.js. Rules that match a specific query drop it unless the new URL has its own.

Is Redirect Rules Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
Meta Tag Generator

Title, description, Open Graph and Twitter tags with live length checks.

SEO
SERP Snippet Preview

See your page in Google results, cut off by real pixel width.

SEO
Open Graph Preview

Preview link cards on X, Facebook, LinkedIn, Slack, Discord, WhatsApp and more.

SEO
Schema Markup Generator

Build JSON-LD for FAQ, Product, Article, LocalBusiness, Event and more.

SEO
Something off with Redirect Rules Generator? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt