CSS
.foo { color: red; }Minified
.foo{color:red}Developer Tools
Minify CSS locally by removing extra whitespace and comments. Useful for quick size cleanup of static snippets before release.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
等待输入
已复制结果
CSS
.foo { color: red; }Minified
.foo{color:red}It performs light minification: mainly whitespace and comment removal, without rewriting selector or property meaning.
It is for quick snippet work. Use your project build pipeline for tree-shaking, advanced optimization, or source maps.
Tools
Continue with another translated tool for a nearby task.
HTML Minifier
Minify HTML fragments locally by removing extra whitespace and line breaks. Useful for template cleanup and size comparison without uploading markup.
JSON Minifier
Minify formatted JSON into a compact single line in your browser. Syntax is checked before output—useful for smaller configs, API payloads, and local storage.
SQL Minifier
Minify multi-line SQL into a compact single line locally in your browser, with an option to strip comments. Useful for log embedding, payload size checks, and transport.