Developer ToolsCompress JavaScript

JavaScript Minifier

Minify JavaScript code to reduce file size for faster page loads.

Input JavaScript
Minified Output

About This Tool

JavaScript minification removes comments and whitespace, shortens variable names, and applies safe compression to reduce file size. Smaller files load faster, improving page performance.

Powered by Terser — the same minifier used by production build tools like Vite and webpack. Everything runs locally in your browser; your code never leaves your device.

Keep going

All 31 in Developer Tools