JavaScript Minifier
← Back to all tools
Minify JavaScript by removing comments, whitespace, and line breaks. 100% client-side.
Input JavaScript
// Example: function greet(name) { // say hello console.log("Hello, " + name + "!"); } greet("World");
Remove comments
Remove whitespace
Remove newlines
Minify
Copy result
Minified output