- Home
- Developer
- CSS Formatter
CSS Formatter
Format or minify CSS with configurable indentation.
The CSS Formatter cleans up stylesheet indentation in Format mode or compresses declarations in Minify mode, with 2-space, 4-space or tab indentation.
Mode
Please enter some input.
How to use
- Paste CSS into the input field.
- Choose Format or Minify and pick an indentation.
- Review and copy the output.
Frequently asked questions
Are comments removed?
Yes, comments are stripped in both modes.
Does formatting change the result?
No, only whitespace and line breaks are adjusted.
Related tools
JSON Formatter
Format, validate and minify JSON in one place.
XML Formatter
Pretty-print and indent XML documents.
YAML Formatter
Format YAML and convert between YAML and JSON in both directions.
CSV to JSON
Convert CSV tables into JSON data.
JWT Decoder
Decode JWT header, payload and expiration.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes.