Convert apache htaccess rewrite rules to nginx rewrite rules automatically (experimental)

attention: not so much beta, but check twice before using!

Q: Will you make the codes public?
A: Please check also you can contact from: anil(at)

Q: Donations?
A: Yes I accept donations. Please use my paypal account: pp(at)

Q: Does it supports xxx?
A: This page has woozy codes, I dont know try it yourself and see. Backreferances, most of the variables and a few flags are supported.There are tons of fancy hacks for catching rewrite behavior of apache. As you see, it highly uses variables for deciding to rewriting and there must be many much errors/unmatched directives.

.htaccess content

Please put your .htaccess content (rewrite rules) below and click "convert" button. Do not forget to clear tabs and any other indentation!

nginx rules

nginx rewrite rules will be here after conversion


your rewrite results will be here also for copy/paste