Code Minifier

Minify CSS, JavaScript and HTML.

About Code Minifier

Paste CSS, JavaScript or HTML and get a minified version with comments and unnecessary whitespace removed, plus the percentage of size saved. Great for quick optimizations.

  1. 1Pick the language.
  2. 2Paste your code.
  3. 3Copy the minified output.

FAQ

Does it mangle variable names?

No — it removes comments and whitespace only, so the code stays readable and safe for simple use.

Related tools