CSS Beautifier & Formatter
Turn minified or messy CSS into readable, consistently indented code with one declaration per line.
Minify CSS by removing comments and unnecessary whitespace, and see exactly how many bytes you save.
It tokenises the stylesheet so strings, url() values and selectors such as “a :hover” keep their meaning, then removes comments, line breaks and spaces that CSS does not need. It does not rename or merge rules.
Smaller stylesheets download faster. On a production site, a build tool or caching plugin usually minifies automatically; this tool is handy for one-off snippets and checking savings.
It should not, because only optional whitespace and comments are removed. Keep your original file for editing.
Turn minified or messy CSS into readable, consistently indented code with one declaration per line.
Remove all unnecessary whitespace from JSON and see how many bytes you save.
Convert pixels to rem instantly with any base font size, see a reference table, or convert every px…
Convert rem values to pixels for any root font size, with a quick reference table.
Build linear, radial and conic CSS gradients visually with multiple colour stops and copy production-ready code.
Generate a CSS clamp() value that grows smoothly from a minimum size on small screens to a maximum…
Design soft, natural box shadows with up to four layers and a live preview, then copy the CSS.
Adjust each corner of a box with sliders, in px or %, and copy the shortest border-radius CSS.