Code minification (also known as code minimization or code compression) is the process of removing all unnecessary characters from source code. This procedure entails removing all unnecessary white space characters, newline characters, comments, and so on. The functionality of the source code is unaffected by code minification. It does, however, improve load time (and the performance of your web app) because you reduce the size of the file for download.
Table of Contents
Google Closure Compiler
Bonus Tool (To Discover the Best Minification Tool for You)
It shows the aggregated statistics on the general level of compression in four of the tools covered above (namely JSMin, Dojo ShrinkSafe, YUI Compressor, and Packer).
Which is your favorite minification tool? Add it in the comment section below.
akinolaJuly 8, 2015, 12:42 am
Thanks for the post. I think I will go for the dojo
JonyGreenSeptember 6, 2015, 5:33 pm
you can try this free online js minifier, it’s using Yui compressor tool.
justinMay 18, 2017, 3:53 am
Ejaz AhmadDecember 3, 2018, 1:00 pm
Here is another link please, http://www.ipiploo.com, you can use it to Minify HTML/CSS/JS at one place.