.js file (extension) MIME type reference
MIME with js extension (filename suffix) usually comes in 4 types: text/javascript application/javascript application/x-javascript text/jscript
File Extension (Filename Suffix) | MIME Type |
---|---|
.js | text/javascript 📋 |
application/javascript 📋 | |
application/x-javascript 📋 | |
text/jscript 📋 |
📖 Related references
MIME Type | File Extension (Filename Suffix) |
---|---|
text/javascript | .js 📋 |
.jsm 📋 | |
.mjs 📋 |
MIME Type | File Extension (Filename Suffix) |
---|---|
application/javascript | .js 📋 |
.mjs 📋 | |
.jsm 📋 |
MIME Type | File Extension (Filename Suffix) |
---|---|
application/x-javascript | .js 📋 |
.jsm 📋 | |
.mjs 📋 |
MIME Type | File Extension (Filename Suffix) |
---|---|
text/jscript | .js 📋 |
.jsm 📋 | |
.mjs 📋 |
FAQs
What is the MIME Type for js file?
The MIME of the js
file can be one or more of the following: text/javascript
application/javascript
application/x-javascript
text/jscript