Kharabeesh
On-device ع

CSS Formatter & Minifier

Beautify CSS with clear indentation and one property per line, or minify it for production by removing comments and whitespace without breaking strings, calc() or media queries.

Free, no sign-up Saved on your device only Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste CSS or open a .css file.
  2. Choose Format or Minify and the options.
  3. Copy or download the result.

Privacy & how it works

Saves your data in this browser only (back it up or delete it from “My data”).

  • Engine: beautifier (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

Is minifying safe?

It removes comments (except those starting with /*! such as licences) and extra whitespace, while keeping the spaces that matter inside calc() and before parentheses in @media. Colours and units are not changed.

Does it support SCSS and LESS?

Formatting usually works with simple SCSS and LESS because they are close to CSS, but minifying is designed for plain CSS, so test the result before using it.

Related tools