Yes. Choose Apache or Nginx as your source format, then use the buttons to convert in either direction between that format and IIS web.config.
Convert Apache .htaccess and Nginx rewrite rules into IIS web.config URL Rewrite syntax, and convert web.config rules back to Apache or Nginx. Built for developers migrating between Windows/IIS and Linux hosting environments.
RewriteRule,
RewriteCond, and Redirect directives (or Nginx's rewrite,
return, and location blocks) into IIS's
<system.webServer><rewrite> rule format, and back again.
Select whether the left editor contains Apache or Nginx syntax.
Paste your existing rules or web.config XML into the appropriate editor.
Convert to web.config, or convert web.config back to your chosen format.
Check the validation report, then copy the result into your server configuration.
A quick comparison of the three most common web server platforms and their rewrite/redirect configuration approach.
| Feature | Apache HTTP Server | Nginx | IIS (Windows) |
|---|---|---|---|
| Config Format | Plain text (.htaccess / httpd.conf) | Plain text (nginx.conf) | XML (web.config) |
| Rewrite Engine | mod_rewrite | Built-in rewrite module | URL Rewrite Module |
| Regex Flavor | PCRE | PCRE | .NET Regex |
| Per-directory Overrides | Native (.htaccess) | Not supported | Native (web.config per folder) |
| Platform | Cross-platform | Cross-platform | Windows Server |
| GUI Management | Limited | Limited | IIS Manager |
| Best For | PHP apps, WordPress, shared hosting | High-traffic sites, reverse proxy, CDN | ASP.NET apps, Windows-based hosting |
Convert rules in milliseconds, right in your browser.
Nothing is uploaded — everything runs client-side.
Apache/Nginx → web.config, and back again.
Works on desktop, tablet, and mobile.
Yes. Choose Apache or Nginx as your source format, then use the buttons to convert in either direction between that format and IIS web.config.
IIS's URL Rewrite Module stores rules inside the web.config file, which follows .NET's standard XML configuration format used across IIS and ASP.NET.
No. IIS uses .NET regular expressions rather than PCRE, and complex RewriteCond logic or nested Nginx location blocks may need manual adjustment after conversion.
No. All conversion happens inside your browser using JavaScript. Your rules are never transmitted to our servers.