Skip to main content

Vercel Redirects Generator

Runs in your browser Nothing stored Free, no signup

Paste old → new URLs and get a valid vercel.json redirects array — with the right permanent/temporary flag. Runs entirely in your browser.

From = the old path on your site. To = the full destination URL.

Vercel (vercel.json)
{
  "redirects": [
    {
      "source": "/old-page",
      "destination": "https://example.com/new-page",
      "permanent": true
    }
  ]
}

Add this redirects array to vercel.json at your project root and redeploy. "permanent": true is a 308/301, false is a 307/302.

Migrating a site? Check for broken links & redirect chains.

Analyze any URL free

Edge redirects without losing rankings

On Vercel, redirects live in vercel.json and run at the edge before your Next.js or static app renders. A permanent redirect (308) forwards both visitors and crawlers and carries the old URL's ranking signal to the new one — essential when you rename routes or migrate.

Generate the array here and drop it into your config. On a different stack? Use the Netlify or Cloudflare generator, or set a canonical with the canonical tag generator.

Frequently asked questions

Where do Vercel redirects go?

In a "redirects" array inside vercel.json at your project root. Vercel applies them at the edge before your app runs, so they are fast and work for static and serverless routes alike. Redeploy for changes to take effect.

What does "permanent" mean in vercel.json?

permanent: true sends a 308 (the modern permanent redirect, equivalent to a 301 for SEO — it passes ranking signal and preserves the request method). permanent: false sends a 307 (temporary). This tool sets it from your 301/302 choice.

Can I redirect with wildcards on Vercel?

Yes — Vercel supports path segments like "/blog/:slug" and wildcards like "/docs/:path*" in the source, mapping them into the destination. This tool builds exact one-to-one redirects; add dynamic segments by hand for pattern rules.

redirects vs rewrites on Vercel — what is the difference?

A redirect changes the URL in the browser and returns a 3xx status (use it for moved pages, SEO-safe). A rewrite keeps the URL the same and serves different content behind the scenes (use it for proxying). For SEO migrations you almost always want redirects.

Related tools

This tool solves one thing.

Scan a live URL against 100 on-page checks — with the code to fix each issue.

Analyze any URL free