JavaScript Minifier
Your workspaceProcessed on your device
A few things to know.
Input can contain up to 1,000,000 UTF-16 code units. Local files must be valid UTF-8 and at most 4 MiB. Identifier mangling is disabled. Compression can simplify expressions and remove unused code when enabled. Comparisons show UTF-8 bytes before transfer compression.
- Paste JavaScript or select a local source file. Leave optimization off to start with compact formatting.
- Enable a source map if you need to trace generated code, then select Minify JavaScript.
- Download minified.js and, when enabled, minified.js.map. Keep the two files together for debugging.