Minificateur JavaScript
Minifiez le JavaScript prudemment.
Minificateur prudent : supprime les commentaires et espaces superflus ; ne renomme pas les variables. Pour une minification complète, utilisez un outil de build.
Votre saisie est traitée localement dans votre navigateur — rien n'est envoyé, stocké ni journalisé.
Comment ça marche
- 1 Paste your JavaScript.
- 2 The minified output appears live.
- 3 Copy or download the .js file.
Cas d'usage courants
- Quickly shrink a small script.
- Remove comments before sharing.
- Reduce inline script size.
- A fast, dependency-free first pass.
Questions fréquentes
Is my input sent to a server?
No. Everything runs locally in your browser — your input is never uploaded, stored or logged.
How thorough is the minification?
It is deliberately conservative: it removes comments and extra whitespace but does not rename variables or restructure code. For maximum compression, use a full bundler (esbuild, terser).
Could it break my code?
It preserves strings, template literals and regex literals and keeps line breaks to stay ASI-safe. Very unusual code could still differ — always test the output.
Is it really free?
Yes — free, with no signup and no limits.