Home Tools Blog About

Htaccess Redirect Generator

In short

Generate Apache .htaccess redirect rules, 301 or 302, from a simple list of old and new paths.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Generated locally in your browser. Nothing is uploaded.

🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Htaccess Redirect Generator

Htaccess Redirect Generator · free online tool · All Tools Verse
Htaccess Redirect Generator. Free online tool that runs in your browser.
  1. List your redirects. One per line, old path then new path.
  2. Pick the type. A permanent 301 or a temporary 302.
  3. Generate. Apache Redirect rules are built for you.
  4. Copy the result. Paste the rules into your .htaccess file.

Frequently Asked Questions

How do I list the redirects?

Put one redirect per line with the old path and the new path, separated by a space or an arrow.

What is the difference between 301 and 302?

A 301 is a permanent redirect that search engines treat as a move, while a 302 is temporary.

Where do these rules go?

Into the .htaccess file at the root of your Apache site, which then applies the redirects.

Is my data sent anywhere?

No. The rules are generated in your browser, so nothing leaves the tab.

Is it free?

Yes. Every tool here is free to use with no sign up.

Keep going

Related Tools

All Developer tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: