Less Formatter

Paste Less and get clean, consistently indented, correctly nested output instantly in your browser.

Less Input

Formatting Options

Formatted Less

Paste 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

  1. Paste your Less into the input textarea on the left.
  2. Choose your preferred indent style and size, and toggle blank lines or comment preservation.
  3. Click Format Less to process the input.
  4. Review the formatted, correctly nested output on the right, with live line and byte counts.
  5. 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