JavaScript Minifier
Minify a copy and retain your original source for maintenance. Run the application tests against the file you will deploy.
Use on styles you already test. Keep readable source and verify the component in the browser after replacing the shipped asset.
Use on styles you already test. Keep readable source and verify the component in the browser after replacing the shipped asset.
Choose Load sample to fill the controls. Select Run tool and compare the result.
Compare bytes for a declaration block before and after minification.
/* Article card */
.card { color: #ffffff; padding: 8px 8px 8px 8px; }Input: 70 bytes. Output: 30 bytes.
.card{color:#fff;padding:8px}
Parse and minify with esbuild WebAssembly in this browser. Report exact UTF-8 byte counts.
Test an isolated stylesheet containing a color, a shorthand candidate and a rule order you can inspect. Confirm the output bytes in the Lab. Compare computed styles on a test element and keep the readable stylesheet in version control.
This is a transform, not bundling or gzip. Preserve any license notices required for distributed code.
The tool keeps these inputs in the page while you work and does not send them to a conversion service.
Minify a copy and retain your original source for maintenance. Run the application tests against the file you will deploy.
Use transfer bytes from a representative navigation, then run separate cold-cache and repeat-visit scenarios.
Prepare screenshots at the display width, and keep a larger master for another layout.
Use response headers and a repeatable HTTP request to check gzip delivery.
Use transfer observations rather than uncompressed source sizes in a capacity worksheet.
Use an actual ETag response to distinguish revalidation from a complete download.