JavaScript Minifier
Terser optimizes JavaScript without running it. Options can change names and remove code. Savings depend on the input; test the output in its intended application.
JavaScript Input
Minified JS
JavaScript Minifier
Frequently Asked Questions: How much smaller will my script get?
Terser optimizes JavaScript without running it. Options can change names and remove code. Savings depend on the input; test the output in its intended application.
Authoritative References
Standards and official documentation that define the formats this tool works with.
ECMA-262 - ECMAScript Language Specification
ECMA-262: the ECMAScript language standard that defines JavaScript syntax and semantics.
MDN Web Docs - JavaScript
Mozilla JavaScript reference — the language documentation the web runs on.
Prettier - Opinionated Code Formatter
Prettier, the opinionated code formatter whose defaults shaped modern JavaScript style.
Essential tools for developers and programmers to format, validate, and manipulate code