JavaScript & CSS minifier
Reduce JavaScript or CSS file size locally, with optional optimizations and no code execution.
Runs in your browser. Files are not uploaded.
Paste source code or try the example.
How to use
Choose JavaScript or CSS, paste source code and press Minify. Copy or download the result. Compare UTF-8 sizes; a negative saving means the generated output is larger.
Limits and details
Up to 200,000 UTF-16 input units; five-second processing timeout. Terser handles JavaScript and CSSO handles CSS in a local worker. No execution, preview, remote import, TypeScript/JSX compilation, bundling or source maps. Optional optimizations can change output behavior; test the result in its real application. Keep required license notices.