LESS language and preprocessing
LESS adds variables, mixins, nested rules and functions to CSS authoring; browsers require the compiled CSS output.
Preparing your comprehensive developer toolkit
Practical Guide
Compile LESS code into CSS in your browser. Use variables, mixins, nesting and LESS functions, choose optional compression, then copy or download the result.
LESS to CSS converter for compiling LESS stylesheets to CSS with support for variables, mixins, nesting, and other LESS features.
LESS adds variables, mixins, nested rules and functions to CSS authoring; browsers require the compiled CSS output.
The compiler parses LESS, evaluates expressions and expands mixins and nesting to produce CSS.
Paste code or open a .less file, compile it on demand, and optionally enable compression.
Compile LESS variables, mixins, nesting and functions into standard CSS.
Compile on demand and see compiler errors next to your source.
Preview the resulting CSS with syntax highlighting.
Optionally compress the generated CSS, then copy or download it.
Check how LESS variables and mixins compile before integrating styles.
Compare readable CSS with the compressed output for production builds.
Reproduce a small LESS compilation issue in the browser.
No. Compilation runs locally in your browser; your code is not uploaded.
Different LESS versions/options (e.g., compression) can change output. Align options and versions across environments.
Keep imported LESS dependencies available to the compiler; this page does not provide a multi-file project workspace.
Enable the Compress Output option to remove whitespace and comments where possible.
Yes. The compiler supports variables, mixins, nesting, functions, and most common LESS features.
Official documentation for the LESS language and less.js compiler.
Compiler options and usage for less.js.
Official guide to variables, mixins, nesting and functions.
Open the tool to try these features.