CSS and JavaScript minifier

Minify CSS or JavaScript code, compare the original and output sizes, and copy the result. Select your language and reduce the size of your code.

Input

Processed in your browser: values are not sent.

Up to 200,000 bytes and 8 seconds. JavaScript retains names without expression compression; CSS avoids rule restructuring. Recognized license comments are retained. No source maps are generated. Test the result in your application.

Result

No result yet. Fill in the fields and run the tool.


                
            

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use

Choose CSS, classic JavaScript or ES module, paste the code and run. Compare byte sizes, then copy or download the output. Use ES module for imports and exports.

Method and limits

Up to 200,000 bytes and 8 seconds. JavaScript retains names without expression compression; CSS avoids rule restructuring. Recognized license comments are retained. No source maps are generated. Test the result in your application.

Practical example

Input
Value: const total = 2 + 3; Language: javascript
Result
const total=2+3;

Sources

Favorites