Developer

.htaccess redirect generator

Generate clean 301 or 302 redirect rules for Apache .htaccess from a list of old and new URLs.

Redirects

Old URL / path New URL Type

.htaccess output

Advertisement

100% private. All processing happens locally in your browser — no files or data are ever sent to a server.

How to use .htaccess redirect generator

  1. 01 Paste or type your input into the text field provided
  2. 02 The output generates instantly as you type
  3. 03 Click Copy to send the result straight to your clipboard

Frequently asked questions

Common questions about .htaccess redirect generator.

Is .htaccess redirect generator free to use?
Yes, .htaccess redirect generator is completely free. No account, subscription, or payment is ever required — just open the page and start using it.
Does .htaccess redirect generator upload my data to a server?
No. .htaccess redirect generator runs entirely in your web browser using client-side JavaScript. Your files, text, and data never leave your device, making it 100% private.
Can I use .htaccess redirect generator on my phone or tablet?
Yes. .htaccess redirect generator is fully responsive and works on all modern smartphones, tablets, and desktop browsers without installing any app.
Does .htaccess redirect generator work without an internet connection?
Yes. Once the page has loaded, .htaccess redirect generator works fully offline — all processing is done locally in your browser.

Advertisement

More Developer tools

About .htaccess redirect generator

Apache .htaccess files control directory-level configuration on Apache web servers, and are widely used to implement URL redirects without modifying application code. A 301 redirect is permanent and passes full SEO authority to the new URL; a 302 redirect is temporary and does not transfer link equity. The .htaccess Redirect Generator turns a list of old URL → new URL pairs into properly formatted RewriteRule directives, ready to paste into your .htaccess file. It handles both simple path redirects and full URL redirects, and outputs the correct RewriteEngine On directive as a header.

Advertisement