JavaScript Minifier

Compress and minify JavaScript by removing whitespace, comments, and unnecessary characters. Shows exact byte savings so you know the impact. Preserves /*! licence comments and is safe for production use.

Input
Output

Paste your JavaScript above and click Minify JS to see the result.