Enter a CSS code that you wish to minify. Click the "GET MINIFIED CSS" button to begin the minification process. Upon successful completion of the minification, you will see a minified CSS.
Loading, please wait...
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source codes of interpreted programming languages or markup languages without changing their functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute. Minification reduces the size of the source code, making its transmission over a network (e.g. the Internet) more efficient. In programmer culture, aiming at extremely minified source code is the purpose of recreational code golf competitions.
The purpose of minifcation is to increase the speed of a website. Minimisation can make a script up to 20% smaller, resulting in a faster download time. Some developers will also use it to obfuscate their code. This makes it difficult for the code to be read, thereby making it more difficult to reverse engineer or copy.
It is also common practice to combine all the CSS files for a single website into one file. This has a number of benefits. It reduces the number of HTTP r equest that need to be made to get all the elements of a website. It also makes minification and gzip compression more effective.