Skip to content
Takikit

CSS Minifier

Remove comments, whitespace and extra semicolons to make the CSS file lighter and the page load faster.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Handy when you put hand-written CSS on a website, landing page or email template and want a lighter file without setting up a build tool.

Besides stripping comments and whitespace, it turns 0px and 0em into 0 while keeping quoted text and the spaces around + and - inside calc() intact. Keep the original for future edits, since the minified version is hard to read.

How to use

  1. Paste CSS.
  2. See the minified version and the percentage saved.
  3. Click Copy or Download.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Does reformatting change how the code runs?

No. The tool only rearranges whitespace, line breaks and indentation. The minified version also removes comments and extra whitespace, but keeps the content inside strings unchanged.

Related tools

More Developer tools

See all developer tools