Code · Made a little simpler

Less to CSS

Use the pinned Less compiler to process variables, mixins and nested rules in a browser worker. Resolve imports from stylesheets pasted into the workspace.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Less 4.9.1

Inline stylesheets

Use a simple filename and paste its source here to resolve a stylesheet in this tab.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Less to CSS: how to use it

  1. Paste your Less source or load the card example.
  2. Add any imported Less stylesheets as named inline files. Choose Expanded or Compressed and select Compile CSS.
  3. Read the result or follow the compiler's line and column diagnostics. Copy or download the CSS.

Limits and notes

Uses Less 4.9.1. Use up to four inline stylesheets, 125,000 characters per stylesheet and 250,000 across the workspace. Compilation runs in a local browser worker. Imported Less source comes from the named files supplied in the workspace.

How your privacy works →

Less to CSS: common questions

How do I resolve an import such as theme.less?

Add an inline stylesheet named theme.less and paste its Less source. Use that filename in the import statement.

Can I load a Less plugin or a URL during compilation?

This workspace compiles supplied stylesheet text. Plugin loading, inline JavaScript and remote import resolution are unavailable.

Does compressed mode change which rules are generated?

Both modes compile the same Less rules. Compressed output uses a compact CSS serialization with less formatting whitespace.

Guides