CSS Minifier

CSS Minifier

What is CSS Minifier?

CSS Minifier is an online CSS compression tool. It will help you compress your original CSS files and save space for faster transfer over the web.

CSS is a formal language for describing the appearance of a document (web page) written using a markup language (most commonly HTML or XHTML). It can also be applied to any XML document, such as SVG or XUL.

Minification (minimization) in programming languages, and especially JavaScript, is the process of removing all unnecessary characters from the source code without changing its functionality. These unnecessary characters usually include space characters, some control characters and comments that are used to add readability to the code but are not required for code execution.

By getting the ability to remove comments and structuring from the site styles, we give the computer the ability to read all the information about the styles faster and apply them without the delays required to process the data before the site is displayed in the user's browser.

How can I reduce CSS loading time?

  • Use CSS compression tool to reduce the size of your JS files by 30%;
  • Combine several CSS files into one file to reduce the number of HTTP requests to install;
  • Use a CDN to avoid redundant HTTP requests for the same CSS file (e.g. shared Bootstrap library);

How to use it?

Just paste your CSS into the text area above and click the "Minify" button, and you'll get optimized CSS code in the same text area.