Redirects for Vercel, Netlify and Cloudflare
Paste your old and new addresses and get the redirect file for your host. A live map shows every redirect, with loops and chains marked in red before they break your site.
Free from Darnly. Spot a bug in the app you're building? Darnly hands it to Claude Code, Codex or Cursor in one key.Add to Chrome
Checking…
What you can paste
/old /new,/old, /newor/old → /new: one redirect per line.- Full addresses work too:
https://mysite.com/old https://mysite.com/new. The old one is turned into a path. - A whole folder:
/blog/* /posts/*. Netlify’s:splatand Vercel’s:path*work as well. - A different type for one line: add it at the end, like
/sale /deals 302. - Two columns copied from Google Sheets or Excel, or a CSV file. A header row like
old,newis skipped. - Lines starting with
#are notes and are skipped.
Moving to a new domain or cleaning up old pages? domain checker, broken link checker or sitemap generator can help.
More free tools
See all 89 tools- Launch checkerIs your site ready to launch? Title, share preview, favicon, sitemap, 404 and more, with fixes.
- Tech stack finderSee what any website is built with, where it’s hosted and which analytics it uses.
- Privacy policy generatorA plain-English privacy policy and terms for your app, naming the services you use. Not legal advice.
How it works
- Paste your old and new addresses, one pair per line, like
/old-page /new-page. A spreadsheet or CSV works too: copy two columns, or upload the file. - Watch the redirect map at the top. Red rows are loops (a page that sends you round in a circle) or chains (one redirect leading to another). Press “Fix chains” to point every old address straight to its final page.
- Pick where your site runs: Vercel, Netlify, Cloudflare, Next.js, nginx or Apache. Copy the file, or copy the prompt and let your AI agent add it for you.
Questions
Should I use 301 or 302?
Use 301 when the page has moved for good: Google moves the old page’s ranking to the new one. Use 302 only for something temporary, like a sale page or maintenance. If you’re not sure, it’s a 301.
What is a redirect chain, and why is it bad?
A chain is when /a sends you to /b, and /b sends you on to /c. Each step is another trip to the server, so the page loads slower, and Google may stop following after a few steps. Point /a straight to /c.
What is a redirect loop?
When the redirects go round in a circle, like /signup to /register and back to /signup. The page never loads and the browser shows “too many redirects”. This tool marks loops in red before you ship them.
How do I move a whole folder?
Put a * at the end of both addresses: /blog/* /posts/* sends /blog/hello to /posts/hello. To send everything in the folder to one page, leave the * off the new address: /blog/* /news.
Should my site use www or not?
Either is fine, but pick one, so every page has a single address and Google doesn’t split its ranking between two. Choose “Add www” or “Remove www” and type your domain, and the tool adds the rule that sends everyone to your choice.
Why doesn’t Cloudflare’s file have the www rule?
Cloudflare’s _redirects file only knows about paths on your site, not domains. Set up the www redirect in the Cloudflare dashboard instead: your domain → Rules → Redirect Rules, then the ready-made “Redirect from WWW to root” template (or the opposite).
Is anything uploaded?
No. Your list, your CSV and the rules are all handled in your browser. Nothing is sent to a server.