Compress JavaScript using Terser — removes comments, collapses whitespace, and mangles variable names for maximum size reduction
Ctrl+Enter to minify
JavaScript is often the largest asset type on a web page. Every kilobyte of uncompressed JS delays page interactivity. Minification goes beyond removing whitespace — Terser (the industry-standard JS minifier used by Vite, webpack, and esbuild) also renames local variables to short identifiers, removes dead code branches, and inlines constants where possible. The combination of whitespace removal and variable mangling typically reduces JS file sizes by 60–80% compared to the original source. QuickKit runs Terser entirely in your browser so your source code never leaves your device, making it safe for proprietary and confidential code.