JavaScript Code Minifier (Terser)
Reduce the size of your JavaScript code using Terser.
How to Use This Tool
Enter JavaScript Code
- 1
Paste or type the JavaScript code you want to minify into the 'Input Code' area.
- 2
Ensure the code is syntactically valid JavaScript.
Minify & Copy
- 1
Click the 'Minify Code' button.
- 2
The minified (uglified) code will appear in the 'Minified Code' area below.
- 3
If minification fails due to syntax errors, an error message will be shown.
- 4
Use the 'Copy Minified Code' button to copy the result.
Related Tools
All Tools
Productivity Tools
Calculation Tools
Time Tools
Document Tools
Creative Tools
Utility Tools
Random NumbersPassword GeneratorWeatherBase64 ConverterCase ConverterCredit Card ValidatorFuel Cost CalculatorMorse Code TranslatorRandom NamesURL Encoder/DecoderBraille TranslatorCSV/JSON ConverterData URI GeneratorHashing Tool.htaccess GeneratorHTML Table GenIBAN ValidatorPassword StrengthRegex Testerrobots.txt GenSubnet CalculatorUnicode InfoXML ValidatorCode FormatterJS MinifierCSS Validator