ToolboxKit

CSS Formatter & Minifier

Paste CSS to format it with one property per line, or minify it for production.

Your files never leave your device — everything runs in your browser.

CSS — Input
Output

How to Use

  1. 1Paste your CSS into the input box.
  2. 2Choose 'Beautify' for readable code or 'Minify' for the smallest output.
  3. 3Set the indentation you prefer.
  4. 4Copy the result, or download it as a .css file.

Frequently Asked Questions

Does it support media queries and modern CSS?

Yes. Media queries, nested at-rules, custom properties (--variables) and modern selectors are formatted correctly.

How much does minifying save?

It depends on how the file was written. Removing comments, line breaks, and indentation often cuts a hand-written stylesheet by 20–40%. Your server's gzip or Brotli compression reduces the transfer size further.

Is my stylesheet uploaded?

No. Formatting runs locally in your browser.

Related Tools