Less Formatter
Paste Less and get clean, consistently indented, correctly nested output instantly in your browser.
Less Input
Formatting Options
Formatted Less
FormattedPaste Less on the left and click Format Less.
Summary
Paste Less and get clean, consistently indented, correctly nested output instantly in your browser.
How it works
- Paste your Less into the input textarea on the left.
- Choose your preferred indent style and size, and toggle blank lines or comment preservation.
- Click Format Less to process the input.
- Review the formatted, correctly nested output on the right, with live line and byte counts.
- Click Copy to copy the formatted Less to your clipboard.
Use cases
- Unminify third-party or bundled Less for debugging and readability.
- Standardize indentation across partials before committing to source control.
- Clean up nested rules, mixins, and variables pasted from Stack Overflow or documentation.
- Reformat Less exported from a build tool or design handoff before reviewing it.
- Check that deeply nested selectors and interpolation still compile after a quick edit.
Frequently Asked Questions
Last updated: 2026-07-23 ·
Reviewed by Nham Vu