Formattatore e minificatore CSS
Formattare o minificare CSS
Funziona nel browser · Nessun caricamento
Lo strumento e le istruzioni di questa pagina sono per ora in inglese. Funziona allo stesso modo: tutto avviene nel browser.
Il tuo browser è troppo vecchio per questo strumento. Aggiornalo o usa una versione recente di Chrome, Edge, Firefox o Safari.
- Nulla lascia il tuo dispositivo
- Nessun limite di dimensione imposto da un server
- Nessuna registrazione, nessuna filigrana
- Gratis
How to format or minify CSS
- Paste your CSS or open a .css file.
- Choose readable (beautify) or small (minify).
- Copy or download the result.
Safe minifying
- Comments are removed, except those starting with /*! (usually licenses).
- Text in quotes is never changed, and spaces that matter, such as around + and - in calc() or before ":hover" in "a :hover", are kept.
- The last semicolon before } and spaces around { } ; , and > are dropped.
Beautifying
Readable CSS is produced by js-beautify, a widely used open-source formatter: one declaration per line, consistent indentation and a blank line between rules.
Domande frequenti
How much smaller does minified CSS get?
Typically 15 to 30% before compression. Your server's gzip or Brotli compression saves much more on top.
Is my CSS uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.