What Is an ASP File? How to Open and Use .ASP Web Pages
An ASP file is a web page built with Microsoft’s Active Server Pages. If you have ever seen a web address ending in .asp, or been handed a file with that ending, that is what you are looking at: a page whose content is put together on the server before it ever reaches your browser.
ASP is old technology by web standards, but it has not vanished. Old company websites and internal company systems (intranets) still run on classic ASP, which is why the file type keeps turning up decades after it was introduced. The good news is that opening one is simple — you just need to know which kind of “opening” you actually want.

How an ASP File Works
ASP stands for Active Server Pages, Microsoft’s server-side scripting technology. It was first released in 1996 with IIS, short for Internet Information Services, Microsoft’s web server software. Files written in classic ASP use the .asp extension, and its successor, ASP.NET, uses .aspx instead.
The key idea is where the work happens. With an ordinary static web page, the server simply hands the browser a finished file. With an ASP page, the file on the server contains code as well as page markup. When a browser asks for the page, the server runs that code first — usually written in VBScript, sometimes in JScript — and uses the result to build a plain HTML page. Only that finished HTML is sent to the browser.
That is why the visitor never sees the server code. Your browser receives the same kind of HTML it gets from any other website, with no trace of the script that produced it. It also means an ASP page can look different each time it loads: the server can build it fresh for each visitor, for example pulling the latest items from a database or showing a page tailored to who is logged in.
Think of it like ordering food in a restaurant. You do not go into the kitchen and cook the meal yourself; you place an order, the kitchen does the work, and a finished plate arrives at your table. The browser places the order by requesting the .asp page, the server’s script is the kitchen, and the HTML page is the finished plate. What you never see is the recipe — the server-side code stays on the server.
How to Open an ASP File
Which method you need depends on what you have in front of you. Here are the four common cases.
| Situation | What to do |
|---|---|
| Visiting a live .asp page on the web | Just click the link or type the address — it works like any other web page, because the server does the work |
| A saved .asp file on your computer | Double-clicking opens it in your browser, but you may see the raw code or only part of the page, because no server is running it |
| Reading or editing the file | Open it in any text editor, such as Notepad, Notepad++ or VS Code — the file is plain text under the hood |
| Running it properly on your own computer | You need a web server with ASP support — on Windows, that means IIS, with the ASP feature enabled in IIS Manager |
For most people, viewing the source is enough. Like an XML file, an ASP file is plain text at heart, so a text editor shows you exactly what is inside: the page markup mixed with the server script. If you only want to understand what a page does, or copy a piece of text from it, that is all you need. To edit it, change the text in the editor and save the file with the .asp ending intact — but only edit files you own or have permission to change, and keep a backup copy of the original first.
If you are a developer who wants to actually run an ASP page locally, the route is through IIS on Windows. In broad terms, you enable IIS and its ASP feature, place the .asp file in the web server’s folder, and then visit the page through your browser via the local server address, so that IIS — not the browser alone — processes the code. If that sounds like more effort than you need, it probably is: for simply reading a file, the text editor route is faster and safer.
One caution is worth stating plainly. An ASP file arriving as an email attachment is unusual, and you should not run script files from unknown senders. Opening the file in a text editor just to look at it is the safe route; actually running it on a server is something to leave to the people who manage that website.
ASP vs ASPX vs PHP
Three similar-looking technologies cause most of the confusion around ASP files. This table keeps them straight.
| Technology | Extension | Who runs it |
|---|---|---|
| Classic ASP | .asp | Microsoft’s IIS web server, using VBScript or JScript |
| ASP.NET | .aspx | Microsoft’s successor to classic ASP, for newer .NET web applications |
| PHP | .php | An open-source scripting language that runs on many different web servers |
Notice what an ASP file is not: it is not a media file, a document, or something you convert into another format. It is a web page, built on a server. That is why there is no “ASP converter” for normal use — you either view the finished page in a browser, or you read and edit the source in a text editor.
It is also worth knowing why classic ASP still exists at all. When a company’s website or intranet was built on ASP years ago and still does its job, there is often little reason to rebuild it from scratch. That is why these files survive: not because anyone is starting new projects in classic ASP today, but because working systems are left in place. If you inherit or support one of those systems, knowing how to open and read an .asp file is a genuinely useful skill.
Frequently Asked Questions
What does ASP stand for?
Active Server Pages. It is Microsoft’s server-side scripting technology, first released in 1996 with IIS, and classic ASP files use the .asp extension.
Can I open an ASP file in my browser?
Yes. A live .asp page on the web opens like any other page, because the server runs the code and sends your browser plain HTML. A saved .asp file opened on your own computer may show the code or only part of the page instead, since no server is running it — a text editor is better for reading the code itself.
Is an ASP file safe to open?
Viewing one in a text editor is safe, because you are only reading text. Do not run script files from unknown senders, and be cautious with any ASP file that arrives unexpectedly as an email attachment.
How do I convert an ASP file?
You do not need to. An ASP file is a web page, not a media file, so there is nothing to convert for normal use. View the finished page in a browser, or open the source in a text editor if you want to read or edit it.
What opens an ASP file on Windows?
A browser for viewing a live page, Notepad or VS Code for reading and editing the source, and IIS for actually running the page on your own computer.
So, an ASP file is simply a web page from Microsoft’s Active Server Pages: code that runs on the server, HTML that reaches your browser, and a plain-text file you can safely read in any text editor.