ASP Translator - Convert ASP to PHP


What is it?

The ASP translator is a free, online tool that will help you convert Microsoft's ASP to PHP. Simply paste some ASP code or ASP mixed with HTML in one box, click "translate" and PHP code, along with any HTML will appear in a second box. This utility will not convert everything, but it will save you hours of time by converting all of your variables, comments, if...then,, complex response.write output and more, to PHP syntax.

From 2004-2009, The ASP translator was the only client-side solution listed on

Cross Reference

Are you an ASP/VBScript programmer that is learning PHP for the first time? Take a look at our handy ASP / PHP Cross Reference, as well as the other free utilities in our toolbox.

Please contact me if you have any questions. Please leave comments below!

- Robert Giordano


I've just updated the site to HTML5 and I believe I've fixed the problem with the registration emails. I haven't added any new features to the Translator but if I get enough requests, I might do it. Even though this thing is ten years old, it works pretty well as it is. Enjoy!

The ASP Translator is back!! Thanks to everyone for supporting our site. Some major upgrades are coming to in the coming months but first we wanted to restore all of the utilities that have become so popular over the years. Please contact us if you find any errors or if you have any suggestions for improvements or new features!

...some data missing...

The ASP Translator has become a part of the all new site! I will be updating the Translator in the next few weeks, after the transition to the new web site is complete.

The login script has been tweaked so you can refresh the translator page without being directed back to the login page. A few people mentioned it so I fixed it.

Today I finished the new login system. I finally got around to making a modular user management system in PHP and mySQL. It has a built-in email verification sytem, and it allows me to store comments next to the usernames of my friends. If someone is having trouble receiving the verification emails, I can log in and activate them manually. Oh yeah, and I'm converting the page layouts to CSS... yay.

The Translator has been upgraded to v2.16. It now supports #INCLUDE FILE, Response.redirect, Asc, Replace, and Split. Also, messages are dynamically added to the beginning of your script to help you debug. A typical message might be, "Script contains a redirect; check to see if the url has changed."




29 Sep 2015 3:49pm

"Great tool. A must for php (asp coming) beginners. We are working in the php translation of and your fabulous tool is taking our time in a half. Thanks a million guys!!!"



21 May 2012 1:21am

"Soooo cool"


website delux

24 Feb 2011 7:09am

"We are PHP mostly on our team. Your tool gave us a head start and a great reference to follow where your tool lacked. Cut my time in half I would say. Thanks,"



11 Apr 2010 10:10pm

"thank you so much. great program."



20 Jan 2010 2:52am

"your program is wonderful."



21 Nov 2009 9:15am

"Semplicemente incredibile. BRAVI!"



06 Aug 2008 5:36pm

"wonderful program, so fast, thanks for your effort, please continue developing."



10 Jul 2008 9:52am

"absolutly wonderful =O"


oooo super

26 Jun 2007 11:46pm

"your program is wonderful. :D"


Leave a Comment

subject / name:


comment (html=OFF)