Minify Less source without compiling — strips comments and collapses whitespace while preserving variables, mixins, and nesting. Shows compression ratio. Browser-based.
The Less Minifier performs source-level minification on Less stylesheets — stripping all single-line (`//`) and block (`/* */`) comments, collapsing all whitespace sequences to a single space, and removing spaces around syntax characters (`{}`, `:`, `;`, `,`, `()`, `>`, `~`, `+`). The output retains full Less syntax: `@variables`, parameterised mixins, nesting, `@import`, and all Less-specific constructs — making it ideal for reducing Less source files before distributing as part of a theme or design system. Compression ratio and exact byte savings are shown after each run.
QDoes this compile Less to CSS?
No — this tool minifies Less source while preserving Less syntax. The output is still Less. To compile Less to CSS, use the Less Compiler, then run the CSS through the CSS Minifier.
QAre Less variables and mixins preserved?
Yes — the minifier only removes comments and extra whitespace. All Less @variables, parameterised mixins, nesting, and @import statements are preserved.
QIs my Less sent to a server?
No. All minification is pure string processing in your browser. Nothing is transmitted to any server.