JavaScript, CSS & HTML Minifier

Your files are never sent to a server · processed only in this browser

Paste code

Code type

Result

 

Only comments and whitespace are removed. Names are left alone — renaming without scope knowledge silently breaks code, and it does not make the code unreadable anyway.

Questions

Does it shorten variable names?

No — only comments and whitespace are removed. For renaming, use the minify step of your build tool.

Does it obfuscate code?

No. Minified code is still perfectly readable.

Could minifying break my code?

Only things that can't change behavior are removed. // or /* inside strings, templates and regexes aren't treated as comments.

More tools

Esc