Developer Tools

CSS & JS Minifier / Beautifier

Compress or reformat CSS and JavaScript. Runs entirely in your browser.

-
Input Size
-
Output Size
-
Change
About this tool

Minify strips comments, unnecessary whitespace, and line breaks to shrink file size for production. Beautify adds indentation and line breaks back in for readability during development. This is a lightweight in-browser tool, for CSS it handles comments and whitespace reliably; for JS it does safe whitespace/comment cleanup rather than full syntax-aware compression, so keep a backup of complex scripts before overwriting them.

Related tools