JavaScript Minifier
Reduce JS file size by removing comments and collapsing whitespace. See exact bytes saved.
How to use
- Paste your JavaScript code into the input box above.
- Choose which minification options to apply using the checkboxes.
- Click Minify JavaScript to compress your code.
- View the original size, minified size, reduction percentage, and bytes saved.
- Copy the minified output or download it as a .js file.
- For maximum safety, keep all options checked — this tool only removes whitespace and comments.