Cloudflare Redirect Builder — Bulk Redirects CSV, Pages _redirects and Single Redirects
Export CSV lists for Cloudflare Bulk Redirects or dynamic rule expressions.
Save it as a _redirects file in the build output folder. Pages defaults to 302, so the code is always written. Domain redirects (www/HTTPS) belong in Single Redirects and Always Use HTTPS.
- Lines 3 match a query string; this format cannot, so they are skipped (use Single Redirects).
✓ 5 redirects ready, each going straight to its final URL in one hop.
When to use the Cloudflare Bulk & Dynamic Redirect Rule Builder
Three official formats at once
One list produces a _redirects file for Cloudflare Pages, a CSV for Bulk Redirects import, and Single Redirect rules with ready-to-paste filter expressions.
CSV exactly as documented
No header row, sources without https://, seven columns in order and TRUE/FALSE values for options such as preserving the query string, matching Cloudflare's import format.
Status codes always written
Cloudflare Pages uses 302 when no code is written, so a permanent move without a code becomes temporary. Here every line always carries its code.
www and non-www through a wildcard
Host-name redirects are written as a wildcard rule http*://www.domain/* to https://domain/${2}, like the example in Cloudflare's documentation.
Frequently asked questions
Bulk Redirects or Single Redirects?
Bulk Redirects suits hundreds to thousands of fixed URLs from one list. Single Redirects suits pattern rules such as www to non-www or moving a folder.
What are the _redirects limits?
Cloudflare Pages accepts 2,000 static and 100 dynamic redirects per file, with at most 1,000 characters per line.
How do I force HTTPS on Cloudflare?
Turn on Always Use HTTPS under SSL/TLS → Edge Certificates. It covers every URL without extra redirect rules.
When do the rules take effect?
Bulk and Single Redirect rules usually take effect across Cloudflare's network within seconds of saving, while a _redirects file applies once the next Cloudflare Pages deployment finishes.
Similar tools
- Google Analytics UTM Campaign Link BuilderBuild GA4 campaign links: encoded utm_ values, existing parameters and the #fragment kept, lowercase and space options, presets, many URLs at once and .txt/.csv export.
- Apache .htaccess 301/302 Redirect GeneratorGenerate Apache mod_rewrite 301 permanent redirects and HTTPS enforcement.
- Nginx return 301 & rewrite Rule GeneratorGenerate fast Nginx server block 301 redirects and non-www canonicalization.
- HTTP Set-Cookie Header Attribute InspectorParse raw Set-Cookie headers to inspect Secure, HttpOnly, SameSite and Max-Age.