Skip to content

HTML, CSS & JS Minifier / Beautifier

Minify or beautify HTML, CSS and JavaScript with size savings shown. Your code is processed in the browser and never uploaded.

No uploads

How to use HTML, CSS & JS Minifier / Beautifier

  1. 1Open HTML, CSS & JS Minifier / Beautifier. It runs in your browser, no sign-up.
  2. 2Type or paste your input.
  3. 3Copy or download the result.

Questions

How is JavaScript minified?

With Terser — the same minifier used by most bundlers — which removes whitespace, shortens variable names and simplifies code.

Is my code uploaded?

No. Minifying and beautifying run entirely in your browser.

Can it beautify minified code?

Yes. Beautify uses js-beautify to re-indent HTML, CSS and JavaScript.

More tools