JavaScript Minifier
Minify JavaScript with terser: compress, shorten local names and keep licence comments, with exact syntax errors and size savings.
Open toolMeasure raw, gzip and Brotli sizes of your files and estimate download time on common networks.
Drop your built JavaScript, CSS or other files, paste code, or just type sizes. The tool compresses each file in your browser with the built-in CompressionStream to measure its gzip size (and Brotli where the browser supports it), shows each file's share of the total, and compares the total against a budget you set.
Download times are estimated for slow 3G, Lighthouse's mobile profile, good 4G, broadband and fibre, plus your own speed and round-trip time, using a simple stated model. Files are never uploaded. Everything runs in your browser. Nothing you enter is uploaded, logged or stored.
Your code or text
Pasted or opened from a file
Processed in this browser
In-browser. Nothing is uploaded.
Your result
Ready to download or copy
Drop files, paste code or type sizes.
Set a budget in KB.
Compare transfer sizes and estimated download times.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Set a budget in KB.
Compare transfer sizes and estimated download times.
Minify JavaScript with terser: compress, shorten local names and keep licence comments, with exact syntax errors and size savings.
Open toolMinify CSS for production with csso: remove whitespace and comments, shorten colours and values, and merge rules, with before/after and gzip sizes.
Open toolTurn a Lighthouse or PageSpeed Insights JSON report into plain-language scores and fixes.
Open toolBeautify minified or messy JavaScript with configurable indentation and brace style, plus a syntax check that parses the code without running it.
Open tool