Home : File Types : JS File

.JS File Extension

File Type 1JavaScript File

4.0 (114 Votes)
CategoryWeb Files


This file is saved in a plain text format. You can open and view the contents of this file using a text editor.

What is a JS file?

A JS file is a text file containing JavaScript code that is used to execute JavaScript instructions in web pages. It may include functions that open and close windows, validate form fields, enable rollover images, or create drop-down menus.

More Information

JS files are referenced by web pages that incorporate JavaScript functions. They are usually imported in the <head> or <body> sections of the HTML. JS files are helpful when the same JavaScript code is used in multiple webpages as they allow the different pages to reference the code in the one external JS file.

Open and view .JS files with File Viewer Plus.
Programs that open JS files
Updated 12/21/2018

File Type 2JScript Executable Script

3.7 (56 Votes)
CategoryExecutable Files


File format categories include Binary, Text, XML, and Zip. The format of this file type has not been determined.

.JS File Association 2

Executable script written in JScript, Microsoft's version of JavaScript

Programs that open JS files
Windows-based script host (Wscript.exe)
Updated 2006

About JS Files

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

All file types, file format descriptions, and software 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.