Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

LESS to CSS Compiler

Paste Less code and get plain CSS, compiled by the official Less.js engine in your browser — handy for maintaining Bootstrap 3 themes and older projects.

Mis à jour le

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : LESS to CSS Compiler

  1. Paste your Less code.
  2. The CSS compiles as you type; errors show the line and an explanation.
  3. Tick “Minify” for production and copy or download the CSS.

What the compiler handles

This is Less.js, the official Less compiler, running in your browser: @variables, nesting with &, mixins (with arguments and guards), operations like @base * 2, color functions such as darken() and fade(), @media bubbling, escaping and e().

Less vs Sass

Both add variables, nesting and mixins to CSS. Less is written in JavaScript and was used by Bootstrap 3 and many admin themes; Sass (SCSS) is now more common for new projects. Native CSS covers part of the gap today with custom properties and nesting, which modern browsers support.

Imports

Your own @import "variables.less" files can’t be read by the browser, so paste their content above the code that uses them.

Private by design

Compilation runs entirely in your browser — your code is never uploaded, so it’s safe for proprietary projects.

Aussi recherché comme : less to css, less compiler, less to css converter, compile less online, lesscss compiler, convert less to css.

Outils complémentaires : LESS to CSS Compiler

  • SCSS to CSS Compiler — Paste SCSS or indented Sass and get plain CSS, compiled by the official Dart Sass engine in your browser — with clear error messages pointing to the exact line.
  • CSS Formatter — Turn a minified stylesheet into readable CSS with one property per line and properly nested @media blocks.
  • CSS Minifier — Paste a stylesheet to shrink it instantly.
  • CSS to Tailwind Converter — Paste CSS rules or declarations and get the equivalent Tailwind utility classes for each selector — including hover: states and arbitrary values like p-[13px].

Questions fréquentes

Does it support Bootstrap 3 Less files?
Yes, the Less features Bootstrap uses compile here. Paste the variables and mixins your file imports above it, since other files can’t be loaded.
How do I minify the CSS?
Tick “Minify output”. Less removes whitespace and comments for the smallest CSS.
Is my code uploaded?
No. Less.js runs in your browser, so nothing leaves your device.
Puis-je installer LESS to CSS Compiler en tant qu’application web et l’utiliser hors ligne ?
Oui. LESS to CSS Compiler est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires