Git, Server & Deployment
Nginx / Apache Rule Converter
Paste Apache .htaccess or Nginx rules and get the equivalent rewrite in the other
server’s syntax. Conversion happens in your browser — nothing is uploaded.
Direction
liveStart with the mixed example, or pick a specific rule from the Load example list. Recognised rules are converted; anything unsupported is listed in the notes so nothing breaks silently.
Apache rules
.htaccessComments, blank lines and unsupported directives are handled gracefully.
Nginx rules
nginx.conf
Notes
0What gets converted
Supported Apache input includes Redirect / RedirectMatch,
RewriteRule with R=301/R=302, internal rewrites, the
force-HTTPS and canonical-host patterns, and the RewriteCond %{REQUEST_FILENAME} !-f
front-controller pattern. Supported Nginx input includes location +
return, rewrite ... permanent|redirect|last, if ($scheme …),
if ($host …) and try_files. Everything runs locally.