← All tools · Developer tools

HTML/CSS/JS minifier and beautifier

Minify HTML, CSS and JavaScript to a smaller size, or beautify code into readable form with a real parser.

Code Minifier / Beautifier

Beautify parses your code with Prettier (HTML, CSS or JavaScript) and reprints it with proper indentation. Minify produces genuinely smaller valid code and reports the before/after size. Invalid code is reported as a parse error.

How to use HTML/CSS/JS minifier and beautifier

Enter your details in the tool above and press the main button to get your result. You can copy text results or download file results. Most tools work entirely in your browser, so your files and inputs are not uploaded anywhere, except where the tool page names a public API it calls.

Related tools: JSON formatter/validator, JSON to CSV, CSV to JSON, XML to JSON / JSON to XML.