Online .htaccess to Web.Config converter

Below we will see an automatic way to convert .htaccess to Web.Config.
It´s not necessary to download any application to convert .htaccess to Web.Config, just put the .htaccess code in the box below and click “convert to Web.Config” then the .htaccess will be automatically converted to Web.Config code.

Ex: RewriteRule ^index.html$ [R=301,L]



Default WordPress .htaccess equivalent in Web.config

     <rule name="Main Rule" stopProcessing="true">
         <match url=".*" />
         <conditions logicalGrouping="MatchAll">
             <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
             <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
         <action type="Rewrite" url="index.php/{R:0}" />

Magento .htaccess equivalent in Web.config

<rule name="Imported Rule 1" stopProcessing="true">
  <match url=".*" ignoreCase="false" />
	<add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" />
	<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
	<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  <action type="Rewrite" url="index.php" />