Minify or format JavaScript in 3 steps:
-
Step 1: Enter JavaScript Code
Paste or type JavaScript code in the input area on the left
-
Step 2: Choose Processing Method
Click 'Minify' button to optimize for production, or 'Format' button to improve readability
-
Step 3: Copy Result
Copy the result displayed on the right. When minifying, the reduction percentage is also shown
All processing is performed in your browser. JavaScript code is not sent to servers.