Skip to content

Formattatore CSS

Formattatore e minificatore CSS gratuito. Stampa in modo elegante CSS brutto con le impostazioni predefinite di Prettier, oppure rimuovi commenti e spazi bianchi per spedire il foglio di stile più piccolo. Funziona nel browser per qualsiasi CSS, inclusi i selettori in stile Sass.

Runs in your browserUpdated Apr 26, 2026

CSS Input

Output

Domande frequenti

Can it format Sass or nested CSS?

Yes — Prettier's PostCSS parser handles modern CSS features including nesting, custom properties, container queries, @supports, and more.

Is the minifier production-grade?

It's good for shipping small-to-medium stylesheets: strips comments, collapses whitespace, tightens syntax. For maximum compression (colour rewrites, shorthand collapsing) you want a dedicated tool like csso or Lightning CSS in your build pipeline.

Will it break my @media or @supports queries?

No — those are preserved and pretty-printed the same way Prettier does in an IDE.

Is my CSS sent to a server?

No — everything runs in your browser.

Le persone cercano anche