Home : File Types : VBS File

.VBS File Extension

File TypeVBScript File

3.7 (97 Votes)
CategoryExecutable Files

What is a VBS file?

A VBS file is a Virtual Basic script written in the VBScript scripting language. It contains code that can be executed within Windows or Internet Explorer, via the Windows-based script host (Wscript.exe), to perform certain admin and processing functions.

More Information
Screenshot of a .vbs file in Atom
VBS file open in Atom

Primarily, VBS files are used by:

  • Windows system administrators, to automate certain admin processes
  • Internet Explorer-only webpages, to perform certain functions that HTML alone cannot
  • Microsoft’s Internet Information Services (IIS) web server, to perform server-side webpage processing

Are VBS files still used?

For the most part, no. Most Windows system administrators now use Windows PowerShell to perform processes they previously performed using VBScript and VBS files. Also, in August 2019, Microsoft announced they would disable VBScript support by default in Internet Explorer, which is the only web browser that ever supported VBScript. Microsoft recommended that developers update any web pages that use VBScript to use JavaScript instead.

NOTE: VBS files may also use the .VB file extension.

How do I open a VBS file?

You can open and edit VBS files using any text editor, such as Notepad++ (Windows), TextEdit (Mac), or Atom.


While VBS files are typically legitimate, they may also be used to distribute and execute malware attacks on victims' computers. To protect against malicious attacks, never double-click a VBS file you have downloaded or received via email unless you can verify its legitimacy and source.

Open over 400 file formats with File Viewer Plus.

Programs that open VBS files

Updated 6/17/2020

About VBS Files

Our goal is to help you understand what a file with a *.vbs suffix is and how to open it.

The VBScript file type, file format description, and Mac and Windows programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.