Input (Less)
@brand: #3366ff;
.card {
color: @brand;
.title { font-weight: bold; }
}Less → CSS compiles Less source into plain, browser-ready CSS. It resolves Less variables, evaluates operations, flattens nested rules, and expands mixins so the output is standard CSS with no preprocessor syntax left behind. Paste a Less stylesheet and get compiled CSS you can ship directly or inspect to understand what your Less actually produces.
Less (Leaner Style Sheets) is a CSS preprocessor that adds variables, nesting, mixins, functions, and arithmetic on top of CSS. CSS (Cascading Style Sheets) is the final, flat language browsers understand. This converter runs the Less compiler so its dynamic features are evaluated down to static CSS rules, bridging an authoring-time language with deployable output.
The main file is the entry point for each run.
Use the Input panel to pipe standard input to your program when it needs data.
Run sends your code to a fresh hosted runtime and streams the result into the output panel.
Your draft stays in this browser, and Share creates a separate snapshot link.
@brand: #3366ff;
.card {
color: @brand;
.title { font-weight: bold; }
}.card {
color: #3366ff;
}
.card .title {
font-weight: bold;
}.rounded(@r: 4px) { border-radius: @r; }
.box { .rounded(8px); }.box {
border-radius: 8px;
}a {
color: blue;
&:hover { color: navy; }
}a {
color: blue;
}
a:hover {
color: navy;
}@base: 16px;
.title {
font-size: @base * 2;
margin: (@base / 2);
}.title {
font-size: 32px;
margin: 8px;
}@pad: 12px;
.panel {
padding: @pad;
.header { padding-bottom: @pad; }
}.panel {
padding: 12px;
}
.panel .header {
padding-bottom: 12px;
}@brand: #3366ff;
.btn {
background: @brand;
border-color: darken(@brand, 10%);
}.btn {
background: #3366ff;
border-color: #0f4ae3;
}@w: 100px;
.col {
width: ~"calc(100% - @{w})";
}.col {
width: calc(100% - 100px);
}The editor uses Monaco, the engine behind VS Code, with language-aware editing tools and familiar keyboard controls.
Paste Less source; the Less compiler runs on it.
Output is plain, browser-ready CSS with no preprocessor syntax left.
Less variables are substituted with their resolved values.
Mixins are expanded inline and nested rules are flattened.
Arithmetic and operations are evaluated to static values.
Compilation runs entirely in your browser; nothing is uploaded.
Your Less stays on your machine.
Ship the compiled CSS directly, or read it to see what your Less produces.
Useful for debugging unexpected output from mixins or operations.
Output
Compiled CSS output