Free tool

CSS & JS minifier

Shrink your CSS and JavaScript for faster, lighter pages. Paste your code and see instantly how much you save — free and entirely in your own browser.

Minified output

Paste some code to minify it.

Minified in your browser — nothing is stored or sent.

How it works

1. Choose CSS or JS

Pick at the top whether you want to minify CSS or JavaScript.

2. Paste your code

Paste your source in the input — the minified result appears right next to it.

3. Copy or download

Take the smaller version to your project, with the saved bytes shown.

Building a fast website or web app? We build lightning-fast, findable sites to measure. See our web development services.

Frequently asked questions

What exactly is minifying?

Minifying removes everything a browser doesn't need to run your code: whitespace, indentation, comments and line breaks. The behaviour stays identical, but the file gets smaller — and therefore faster to download.

Does it really make my website faster?

Smaller CSS and JS files load faster, especially on mobile. For a handful of static pages the gain is noticeable; on large projects your build tool usually handles this automatically, but for standalone files this tool is ideal.

Is my code safe?

Yes. Minifying happens entirely in your own browser using proven tools (terser for JavaScript, csso for CSS). Your code is never sent anywhere or stored.

Which tools are used?

For JavaScript we use terser (the standard behind many build tools) and for CSS we use csso. Both run locally in your browser.

Need a fast website or web app?

From websites to custom software — tell us about your plan and you'll receive a free, no-obligation quote with a fixed price upfront.