Bulk 301 Redirect Generator
Map old URLs to replacement destinations and generate bulk redirects for Apache, Nginx, Cloudflare, Netlify or Vercel. The validator checks your submitted mapping list before export.
Generate bulk redirects for Apache, Nginx, Cloudflare, Netlify and Vercel. Import CSV, detect loops and chains, and export server-ready rules locally.
Steps and notes
What is Bulk 301 Redirect Generator — Apache, Nginx & Cloudflare?
A redirect map connects an old URL to the page that replaces it. It is commonly used during site redesigns, URL restructuring, content consolidation and domain migrations. This tool turns a batch of source and destination pairs into exact-path rules for Apache mod_alias, Nginx, Cloudflare Bulk Redirect CSV, Netlify _redirects or Vercel vercel.json. Before export it checks the submitted mappings for malformed URLs, duplicate sources, self-redirects, loops and avoidable chains. All parsing and generation run in the browser; your mapping list is not uploaded.
- Paste a two-column CSV or tab-separated list with the old URL first and the destination second. You can also enter one old URL -> new URL pair per line, or import a CSV/TSV file.
- Choose the response status. Use 301 or 308 for a permanent move, and 302 or 307 for a temporary redirect.
- Choose Apache .htaccess, an Nginx server block, Cloudflare Bulk Redirect CSV, Netlify _redirects or Vercel vercel.json. Cloudflare requires a site origin when your mappings use relative paths.
- For Cloudflare, choose whether to include subdomains, match paths below each source and preserve the unmatched path suffix. Preserving the suffix requires subpath matching.
- Review duplicate sources, invalid paths, self-redirects, loops and redirect-chain warnings. Fix rows marked as errors before exporting.
- Copy the generated rules or download the file, then test the configuration on a staging host before deploying it.
- The analyzer only checks mappings you provide. It does not send requests, verify that destinations return HTTP 200, or inspect redirects already configured on your server.
- Chain detection is limited to paths in the current input. A destination that is redirected by a rule outside this list cannot be detected here.
- Cloudflare Bulk Redirect CSV has seven columns and no header row. Source URLs omit the scheme so a mapping can match both HTTP and HTTPS. Include-subdomains, subpath-matching and preserve-path-suffix are explicit options; preserving the suffix only applies when subpath matching is enabled.
- Netlify uses a plain-text _redirects file with one source, destination and status per line. Netlify documents 301 as the default and 302 as the temporary alternative, and explicitly notes that 307 is unsupported. This generator deliberately limits its Netlify export to 301 and 302; choose another format if you need 307 or 308. The downloaded text file must be renamed exactly to _redirects in the publish directory.
- Vercel output is a vercel.json redirects array with source, destination and statusCode fields. Preserve query parameters is included only when selected. Review exact paths and routing interactions in your project before deploying.
- Changing a permanent redirect after search engines and visitors have seen it can take time to be reflected. Keep mappings stable and avoid redirect chains where possible.
Frequently asked questions
- What input formats does the redirect generator accept?
- Paste comma-separated CSV, tab-separated pairs or one “old URL -> new URL” mapping per line. You can also import a CSV or TSV file. CSV headers such as Source URL and Target URL are recognized.
- Which platforms and output formats are supported?
- The generator exports Apache .htaccess RedirectMatch rules, Nginx exact-match locations, seven-column Cloudflare Bulk Redirect CSV, Netlify _redirects lines and a Vercel vercel.json redirects array.
- Which status code should I choose: 301, 302, 307 or 308?
- Choose 301 or 308 for a permanent move and 302 or 307 for a temporary one. The 307 and 308 codes preserve the request method; use them when that distinction matters to your application. This generator limits Netlify _redirects output to 301 and 302; choose Apache, Nginx, Cloudflare or Vercel output when you need 307 or 308.
- How do the Cloudflare subdomain and path options work?
- Include subdomains lets a source mapping match subdomains. Subpath matching also matches URLs below the source path. Preserve path suffix forwards the remaining path segments to the destination and requires subpath matching. Keep broader matching disabled unless the migration requires it.
- Does the tool check whether the new URL exists?
- No. It validates URL syntax and relationships within the mapping list, but it does not make network requests or confirm that a destination responds successfully. Check target URLs separately before deployment.
- How are redirect loops and chains detected?
- The analyzer follows path-to-path mappings included in the current batch. It marks loops as errors and warns when one submitted destination continues through another submitted redirect. Rules outside the pasted list are not visible to the analyzer.
- Does generating a 301 redirect guarantee better rankings?
- No. A 301 is a technical migration signal, not a ranking guarantee. Use it when a page has permanently moved, point to the most relevant final destination and update internal links and sitemaps.
Category: Web
URL & encoding workflow
URL Encoder & Decoder — Percent-Encoding, encodeURIComponent Pitfalls → URL Parser — Inspect Query Parameters and UTM Tags → Outlook Safe Links Batch Decoder — Reveal Original URLs → URL Slug Generator — Create SEO-Friendly Slugs in Bulk → Bulk 301 Redirect Generator — Apache, Nginx & Cloudflare → HTML Entity Encoder & Decoder