Redirect (301/302) Generator
Generate 301/302 redirect rules for .htaccess, Nginx, and Express. Bulk URL mapping with regex support.
About Redirect (301/302) Generator
Generate 301/302 redirect rules for .htaccess, Nginx, and Express. Bulk URL mapping with regex support. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What does this tool do?
Generate 301/302 redirect rules for .htaccess, Nginx, and Express. Bulk URL mapping with regex support.
Is my data sent to a server?
No. This tool runs 100% in your browser. Nothing is uploaded, tracked, or stored remotely.
What extra features does this tool have?
Extras: (1) (1) 301/302/307/308 redirect types, (2) (2) .htaccess rules, (3) (3) Nginx config, (4) (4) Express.js middleware, (5) (5) Cloudflare Workers, (6) (6) Bulk URL mapping (CSV), (7) (7) Regex redirect patterns, (8) (8) Wildcard redirects, (9) (9) Redirect chain detection, (10) (10) Copy config, (11) (11) Export rules file, (12) (12) PWA offline
Does this work offline?
Yes — install as a PWA and use it without network.
Related tools
Affiliate Commission Calculator
Calculate affiliate commissions across four program types — flat percent, tiered percent (progressive brackets), recurring (monthly × N months), and hybrid (initial + recurring). Apply refund-rate and tax-withholding adjustments, compute effective commission rate, compare two program types side-by-side, and project break-even sales to hit a target income. History (localStorage) + shareable URL. 100% client-side.
Affiliate Link Cloaker & Redirect Generator
Cloak affiliate links into pretty URLs and generate redirect scripts (PHP, JavaScript, HTML meta refresh), plus .htaccess, nginx, and robots.txt rules. CSV import of slug/affiliate_url pairs, slug auto-generator from hostname, click-tracking parameter builder, URL-shortener compatibility check, history (localStorage), shareable URL. 100% client-side.
Anchor Text Distribution Analyzer
Analyze anchor text distribution from backlink data. Categorize anchors as exact/partial match, branded, generic, naked URL, or image. Compute distribution %, warn on over-optimization, and export. 100% client-side.