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.
Anything you type or paste stays in your browser — it is not uploaded to Tools99.
Workspace: 1. Add files2. Ready3. Working4. Done — download
How this workspace works
- Paste HTML, CSS or JavaScript.
- Minify it to a smaller size, or beautify it into readable form.
- Copy the result into your project or editor.
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.
Your text never left this browser, so there is no server copy to delete. Copy it again, start over, or continue with a related tool below.
How to use HTML/CSS/JS minifier and beautifier
- Paste HTML, CSS or JavaScript.
- Minify it to a smaller size, or beautify it into readable form.
- Copy the result into your project or editor.
A good use for this
Shrinking code for production, or making minified code readable again for debugging.
Limits
Minified code is harder to debug, and beautifying does not restore original comments or variable names that minification removed.