CSS Minifier / Beautifier
Minify CSS by stripping comments and whitespace, or beautify minified CSS with re-indentation — preserves spaces inside parentheses for values like rgba(0,0,0,0.5)
.header{background:#f5f5f5;color:#333}@media (min-width:600px){.header{display:flex;align-items:center}}.header {
background:#f5f5f5;
color:#333
}
@media (min-width:600px) {
.header {
display:flex;
align-items:center
}
}Strips /* comments */, removes whitespace, and tightens structural punctuation. Spaces inside parenthesised values are preserved so calc(100% - 10px) and rgba(0, 0, 0, 0.5) keep their inner structure in the minified form.
Related tools
JSON Prettifier
Format and validate JSON data
XML/HTML Formatter
Format, validate, prettify, and minify XML or HTML data
XML ↔ JSON Converter
Bidirectional XML-to-JSON and JSON-to-XML converter using the familiar @attr / _text convention; repeated tags collapse into arrays
JSONPath Query Engine
Test JSONPath expressions — supports dot/bracket access, wildcards, slices, recursive descent (..), and filter [?(...)] expressions
GraphQL Formatter
Format and validate GraphQL queries, mutations, subscriptions, and fragments — preserves string literals, args, blocks, lists, and comments