Developer tool
Minify CSS, JavaScript, or HTML
Reduce formatting whitespace and comments in CSS, JavaScript, or HTML snippets without uploading code.
Runs locally in your browser
Your text is not uploaded.
Simple steps
How it works
- 01
Paste a CSS, JavaScript, or HTML snippet.
- 02
Choose the language for conservative whitespace and comment cleanup.
- 03
Copy the smaller output and review it before use.
Good to know
Frequently asked questions
Which languages are supported?
Choose CSS, JavaScript, or HTML.
Does this perform advanced code optimization?
No. It applies conservative comment and whitespace cleanup; it does not rename symbols or optimize program logic.
Should I test the output?
Yes. Review and test minified code in your project, especially scripts with unusual syntax or embedded content.
Can minification change strings?
The tool preserves quoted strings and template literals while reducing safe whitespace around them.
Is code uploaded?
No. Minification runs locally in your browser.