Code Minifier
Minify JavaScript, CSS, and HTML online for free. Removes comments and collapses whitespace to reduce file size — no external packages, runs entirely in your browser.
How to Use
Select the language
Click JS, CSS, or HTML to choose the type of code you want to minify.
Paste your code
Paste the source code into the input area. The minified output appears automatically below.
Copy the result
Click "Copy" to copy the minified code. The reduction percentage shows how much smaller the output is.