Free Apache .htaccess Rewrite & Redirect Generator Online
Generate Apache .htaccess rewrite rules: 301 permanent redirects, force HTTPS/SSL, www to non-www, directory rewrites, and security headers. — 100% free online utility, zero sign-up, zero paywalls, and private client-side processing.
How It Works
Select Rule Type
Choose HTTPS redirect, domain change, or page 301 redirect.
Specify Old & New URLs
Provide source path and target destination.
Copy htaccess Directive
Paste rules into your server .htaccess file.
Frequently Asked Questions
Related Developer Tools Calculators & Utilities
Interlinked precision tools in the Developer Tools collection.
Nginx Server Block & Reverse Proxy Config Generator
Generate optimized Nginx server block configs for reverse proxies, SPA routing, SSL/TLS certificates, gzip compression, and rate limiting.
Robots.txt Generator & Validator
Create custom robots.txt files for search engine crawlers (Googlebot, Bingbot, Yandex). Configure user-agents, disallow rules, and sitemap URLs.
JSON Formatter & Validator
Format, validate, beautify, and minify JSON with syntax highlighting, error detection with line numbers, JSON path query, and schema validation.
Base64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 strings back to plain text or binary files. Supports URL-safe Base64, UTF-8, and custom encoding options.
URL Encoder & Decoder
Percent-encode special characters in URLs for safe transmission and decode percent-encoded URL strings back to readable text. Handles full URLs and query parameters.
Regex Tester & Debugger
Test regular expressions in real-time with match highlighting, group captures, flags, and built-in reference library of common patterns for emails, URLs, and dates.