.min.js — Minified JavaScript
A JavaScript file with whitespace, comments, and often variable names stripped out to reduce file size for production delivery. Functionally identical to its unminified source, just harder to read.
Scripts can run commands on your computer when executed. Only run scripts from sources you trust, and review the contents in a text editor first if you're unsure.
Check another filename
File extension lookup
Frequently asked questions
What is a .min.js file?
A JavaScript file with whitespace, comments, and often variable names stripped out to reduce file size for production delivery. Functionally identical to its unminified source, just harder to read.
Can I edit a .min.js file?
Partially. .min.js files can be edited with the right tool (such as Any web browser), but not with just any text editor.
Does having a .min.js extension mean the file is safe?
No single extension can guarantee that. Scripts can run commands on your computer when executed. Only run scripts from sources you trust, and review the contents in a text editor first if you're unsure. Always consider where the file came from, not just its name.