.js

JavaScript File

Code & web·text/javascript

What is a .js file

A script file containing JavaScript code that adds interactivity to web pages and apps.

How to open a .js file

VS Codeweb browsersNode.jsany text editor
Extension
.js
Category
Code & web
MIME
text/javascript

Other Code & web formats

FAQ — .js

What is a .js file?

.js is a JavaScript File. A script file containing JavaScript code that adds interactivity to web pages and apps.

What program opens a .js file?

.js files open with: VS Code, web browsers, Node.js, any text editor.

What is the MIME type of .js?

The MIME type of .js is "text/javascript" — the identifier browsers and servers use for this format.

← All file extensions