Home / Tools / Web and CSS
CSS Minifier & Beautifier
Minify CSS for production or beautify it to read.
Runs in your browserFree, no sign-upOpens .css
Loading tool…
How to use it
- Paste CSS or open a .css file.
- Choose Minify or Beautify.
- Copy or download the result.
About this tool
Minify removes comments, spaces and the last semicolon in each block, and shows how many bytes you saved. Beautify puts every rule and declaration on its own line so you can read minified CSS from a third party.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
Is it safe for production?
It only removes whitespace and comments. It does not rename or merge rules, so the result behaves exactly like the input.
Web and CSS
All web and cssMore tools like this
Web and CSSUnix Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps.Open →Web and CSSColor ConverterHEX, RGB and HSL conversion with a contrast checker.Open →Web and CSSMarkdown PreviewWrite Markdown and see the result, then copy the HTML.Opens filesOpen →Web and CSSCSS Gradient GeneratorDesign linear, radial and conic gradients and copy the CSS.Open →Web and CSSCSS Box Shadow GeneratorBuild layered box shadows visually and copy the CSS.Open →Web and CSSColor Contrast CheckerCheck text and background colors against WCAG AA and AAA.Open →Web and CSSMeta Tag GeneratorSEO, Open Graph and Twitter meta tags with a live preview.Open →Web and CSSRobots.txt GeneratorCreate a robots.txt with rules, AI-bot blocking and sitemap.Open →