compress CSS / JS Minifier

Minify CSS and JavaScript.

Compress your code for production by removing whitespace and comments.

CSS
JavaScript
css
CSS Minification
Strip whitespace and comments from stylesheets.
javascript
JS Minification
Compress JavaScript while preserving behavior.
verified
Free & Unlimited
No signup, no watermarks, no usage limits.

What is a CSS / JS Minifier?

A minifier reduces the file size of CSS or JavaScript code by removing whitespace, line breaks, and comments, without changing what the code actually does. Smaller files download and parse faster.

How to use this tool

  1. Select CSS or JavaScript.
  2. Paste your code.
  3. Click Minify and copy the compressed result.

Frequently Asked Questions

Minifying removes whitespace, comments, and unnecessary characters from CSS or JavaScript, reducing file size for faster page loads, without changing what the code does.
Minification preserves behavior. However, always test minified code before deploying it, especially JavaScript that relies on function or variable names being preserved exactly (for example via reflection).
Yes. 100% free — no account required, no usage limits.