Netlify Redirects Generator
Paste a list of old → new URLs and get clean Netlify _redirects rules, ready to drop into your publish directory. Runs entirely in your browser.
From = the old path on your site. To = the full destination URL.
/old-page https://example.com/new-page 301
Save these lines to a _redirects file in your publish directory (or move them into netlify.toml). 301 is permanent, 302 temporary.
Migrating a site? Check for broken links & redirect chains.
Analyze any URL freeNetlify _redirects, done right
When you rename a page or restructure a site on Netlify, a 301 redirect forwards visitors and search engines to the new URL and carries the old page's ranking equity with it. The _redirects file is the simplest way to declare them — one rule per line, first match wins.
Generate the rules here, then double-check nothing points into a redirect chain. Need a different host? Try the Vercel or Cloudflare version, or the general Apache / Nginx redirect generator.
Frequently asked questions
Where does the _redirects file go on Netlify?
In your publish directory — the folder Netlify deploys (often "dist", "build", or "public"). Netlify reads a plain file named _redirects (no extension). You can also put the same rules under a [[redirects]] block in netlify.toml at the repo root.
What do the columns mean?
Each line is: source path, then destination, then status code. "/old /new 301" permanently redirects /old to /new. Use 301 for permanent moves (passes ranking signal) and 302 for temporary ones.
Do Netlify redirects support wildcards and placeholders?
Yes. /blog/* /news/:splat 301 forwards everything under /blog to the matching path under /news. This tool generates exact one-to-one rules; add splats or :placeholders by hand for pattern redirects.
Why is my Netlify redirect not working?
The usual causes: the _redirects file is not in the publish directory, an earlier rule already matched (rules apply top to bottom, first match wins), or a trailing-slash mismatch. Netlify also treats a rule to an external URL as a proxy unless the status forces a redirect.
Related tools
Meta Tag Generator
Title, description, Open Graph & Twitter Card tags with live length checks.
Open Graph Image Generator
Design & download a 1200×630 social share image in your browser.
UTM Campaign URL Builder
Tag links for GA4, Meta, Google Ads & email with presets and one-click copy.
URL Slug Generator
Turn any title into a clean, hyphenated, SEO-friendly URL slug.
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