Code Minifier
Minify or beautify HTML, CSS, JavaScript, JSON and SQL instantly.
Processing…
Input
Output
Free · No account · Open source friendly
5 languages
JS, CSS, HTML, JSON, SQL.
Minify & beautify
Switch modes in one click.
Size stats
See exactly how much you saved.
One-click copy
Copy output instantly.
Frequently asked questions
Does minification break my code?▼
No — the minifier only removes whitespace and comments. Functionality is preserved.
What is the difference between minify and beautify?▼
Minify compresses code to reduce file size. Beautify formats it with indentation for readability.
Is JSON validation included?▼
Yes — if your JSON is invalid, the tool will report the exact error.
Can I minify large files?▼
Files up to 1 MB work well. For larger files, use a CLI tool like UglifyJS or cssnano.