About this tool
This tool turns a list of old paths and new addresses into Apache Redirect directives ready to paste into a .htaccess file. Choose 301 (permanent) or 302 (temporary), then enter one rule per line: the old path, whitespace, then the destination. Two example lines are pre-filled, and the output updates as you type; the Copy button copies the generated lines.
Each valid line becomes Redirect 301 /old-page https://example.com/new-page. The first word is treated as the source and everything after the first whitespace is joined as the destination. Blank lines are skipped, and a line with only one word is silently ignored rather than reported. The tool does not check that paths or URLs are valid and does not test them against a server.
Keep in mind how Apache's Redirect directive (mod_alias) behaves: it matches by URL-path prefix, so Redirect 301 /old also catches /old-page and appends the rest of the path to the destination, and it cannot match query strings. For those cases you need RewriteRule instead, which this tool does not generate. The text is created in your browser and nothing is uploaded.