Minify CSS online to reduce file size, or beautify it for easier reading. Free CSS minifier and formatter that runs in your browser. Copy in one click.
On this page
About this tool
Minify CSS for compact output or beautify it for easier reading.
How to use CSS Minifier & Beautifier
Paste CSS and choose Minify or Beautify.
Inspect Result and the size summary.
Copy the output and test it with the pages that use those styles.
Worked example
Beautify a compact rule set before reviewing it, then minify a separate copy for delivery.
Does minifying remove unused styles?
No. This tool focuses on text formatting and cleanup, not a project-wide unused-CSS analysis.
Can I skip testing the generated CSS?
No. Keep the source and check layout, custom properties and special syntax in the target browser.
Explore CSS Tools · More practical guides
Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.
Menu language English (USA) Español اردو
Accessibility Profiles Custom settings Vision support Reading support Reduced motion Motor support Focus support
Oversized widget
Screen Reader
Contrast +
Smart Contrast
Highlight Links
Bigger Text
Text Spacing
Pause Animations
Dyslexia Friendly
Cursor
Tooltips
Page Structure
Line Height
Text Align
Dictionary
Saturation
Read aloud assistance Uses browser speech voices to read page text or selected text. This is not a replacement for NVDA, VoiceOver or another full screen reader. Available voices and speech processing depend on your browser and device.
Read page Read selection Pause / resume Stop reading
Reset All Accessibility Settings Move / Hide Widget Widget positionBottom right Bottom left Hide widget for 1 hour Restore at any time with Ctrl+U (Option+U on Mac).
Accessibility statement and help