CSS Minify Online
CSS Minify is a tool that allow you to minify CSS code. It's the simplest and quickest method for optimizing css code from large files. Web developpers frequently want to minify their css code.
Free CSS Minify Online - Compress CSS for Faster Pages
Minifying CSS
This tool strips everything from CSS that is not needed to run it: redundant whitespace, line breaks and comments. The result is smaller and loads faster.
Minified code is close to unreadable for people, so keep the formatted version as your working copy.
How to use it
Paste your CSS into the input field and run the tool, then copy the result.
Test the result in your application before replacing the version you were using.
When it is worth doing
Smaller files mean shorter load times. On frequently requested pages that difference is measurable.
Use the minified version only in production; keep the formatted version for making changes.
Frequently asked questions
Does minifying change how the code behaves?
No. Only the way the code is written changes; what it does stays the same.
Can I reverse the process?
You can reformat the code afterwards, but removed comments are gone for good — which is why you should keep the original.
Does my code leave the device?
Processing runs in the browser. Even so, avoid pasting credentials or API keys, which sometimes end up inside code samples.
