CSS / JS Minifier
Strip comments and unnecessary whitespace from your CSS and JavaScript and see the size saving.
Results appear here as you type.
This tool runs entirely in your browser; nothing you enter is sent to a server or stored.
In short
Minifying CSS or JS removes whitespace, line breaks and comments without changing behaviour. Smaller files download faster, and the gain grows when combined with server compression (GZIP / Brotli).
What does CSS / JS Minifier do?
Strip comments and unnecessary whitespace from your CSS and JavaScript and see the size saving. It is free and needs no sign-up.
Who uses it and when?
- Developers shipping static sites
- Owners fixing PageSpeed warnings
- Designers shrinking inline code
Frequently asked questions
Is CSS / JS Minifier free?
Yes. The tool is free, needs no account and the data you enter is not stored.