Compress JS · Reduce file size · 100% client-side
Paste any JavaScript code and click Minify JS. The tool removes whitespace, comments, and shortens variable names where safe. All processing is 100% client-side — your code never leaves your browser.
JavaScript is one of the heaviest resources on web pages. Minifying JS can reduce file size by 30-60%, directly improving page load times, Core Web Vitals, and SEO rankings. Google explicitly recommends minimizing JavaScript for better user experience.
Render-blocking JavaScript delays page interactivity. Smaller JS files mean faster Largest Contentful Paint (LCP) and Time to Interactive (TTI) — both Core Web Vitals signals that Google uses for ranking.