Toolbit

CSS Formatter and Minifier

Make a compiled or hand-edited stylesheet readable again, or squeeze it down for production. Both directions run locally on your machine.

What the CSS Formatter does

  • Beautify minified stylesheets back into readable rules.
  • Minify with whitespace, comment, and duplicate-rule removal.
  • Consistent indentation and brace placement.
  • Handles media queries, nesting, and custom properties.

How to use it

  1. Paste the CSS you want to reformat.
  2. Choose beautify or minify.
  3. Copy the result back into your stylesheet.

Why it runs locally

Toolbit has no backend. The CSS Formatter is implemented with standard browser APIs, so your input is processed in the tab and never uploaded, logged, or retained. That is what makes it safe to paste real data into — and it is also why the tool keeps working with the network disconnected, once you have installed Toolbit as an app.

Frequently asked questions

Does minifying change how my CSS behaves?
No. Minification only removes whitespace, comments, and redundant syntax — the cascade and specificity are untouched.
Does it support CSS custom properties?
Yes, along with media queries, supports queries, and nested rules.
Is my stylesheet uploaded?
Local transformations process input in your browser. HTTP and WebSocket tools send user-initiated requests. Optional product analytics is off by default, excludes tool input and output, and stays off when your browser signals Do Not Track or Global Privacy Control.

Related tools