Code Minifier
Minify JavaScript, CSS, and HTML instantly in your browser. Remove whitespace and comments to reduce file sizes — no upload, no account required.
Input — paste your JavaScript code
0 characters
Instant & Free
Minification runs locally in your browser — no server round-trips, no waiting.
100% Private
Your code never leaves your device. Zero uploads, zero tracking.
JS, CSS & HTML
Three languages, one tool. Switch tabs to minify any web asset.
How to Minify Your Code
Four simple steps to smaller files
1
Choose a language
Select the JavaScript, CSS, or HTML tab.
2
Paste your code
Paste your source code into the input area.
3
Click Minify
Hit the Minify button and see instant results.
4
Copy or download
Copy the output or download the .min file.
Frequently Asked Questions