Beautify LESS Online — Free LESS Beautifier

Beautify LESS stylesheets with Prettier. All processing in your browser.

Loading…
LESS Beautification
Beautify Less online. Consistent indentation and spacing, processed in your browser with no uploads.

Features

Format LESS with @variables and mixins.

Beautify LESS

Format LESS with @variables and mixins.

Basic example

LESS source

@brand-color:#2563eb;.panel(@padding:12px){padding:@padding;border:1px solid @brand-color}.widget{color:@brand-color;.panel(16px);.label{font-size:14px;font-weight:600}}

Beautified LESS

@brand-color: #2563eb; .panel(@padding:12px) { padding: @padding; border: 1px solid @brand-color; } .widget { color: @brand-color; .panel(16px); .label { font-size: 14px; font-weight: 600; } }

Formatting options

Print width
Sets the line length at which Prettier wraps code: 80, 100 or 120 characters.

Adjust tab width, tabs vs spaces, and quote style in the toolbar.

Prettier-powered formatting

Uses the PostCSS parser for LESS syntax. Compare with CSS beautifier for plain stylesheets.

Local processing & data handling

Your Less is parsed and reformatted in-browser with Prettier. No uploads, no server-side storage, and no account required. Suitable for proprietary code and internal projects.

LESS beautifier FAQ

Beautification

LESS vs SCSS?

Pick the tool that matches your preprocessor: the SCSS beautifier for Sass.

Need to unminify?

Use the LESS unminifier.

Is my Less uploaded to a server?

No. Beautification runs entirely in your browser. Your Less never leaves your device and is not stored by FastMinify.

Should I use beautify or unminify?

Beautify formats readable Less; unminify restores compressed output. Try the Less unminifier. For day-to-day formatting, stay on the Less beautifier.

Can I customize indentation?

Yes. Pick 2 or 4 spaces, or turn on Use tabs, in the toolbar.

Make code readable with consistent indentation. Beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.