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
- 1Open HTML, CSS & JS Minifier / Beautifier. It runs in your browser, no sign-up.
- 2Type or paste your input.
- 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
JSON Formatter & ValidatorPretty-print, minify, validate Base64 Encoder & DecoderText and files Hash GeneratorMD5, SHA-1, SHA-256, SHA-512 Password & UUID GeneratorStrong, random, local Regex TesterLive matches and groups JWT DecoderHeader, payload, expiry Diff CheckerCompare two texts CSV ↔ JSON ↔ YAML ↔ XMLConvert data formats