CSS Minifier

Free

Minify CSS stylesheets by removing comments and whitespace to speed up page loads.

Saved 241 bytes (24% smaller)
998 bytes757 bytes
Input CSS998 bytes
Minified Output757 bytes
.container{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:1rem 2rem;margin:0 auto;max-width:1200px;background-color:#ffffff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.heading{font-size:2rem;font-weight:700;color:#1a1a1a;margin-bottom:1.5rem;line-height:1.2}.button{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.5rem;background-color:#3b82f6;color:#ffffff;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:background-color 0.2s ease,transform 0.1s ease}.button:hover{background-color:#2563eb;transform:translateY(-1px)}.button:active{transform:translateY(0)}@media (max-width:768px){.container{flex-direction:column;padding:1rem}.heading{font-size:1.5rem}}

998 B

Original

757 B

Minified

241 B

Saved

24%

Reduction

About CSS Minifier

Remove comments, whitespace and redundant characters from CSS files to reduce file size for faster page loads. Works as a beautifier too — expand minified CSS back to readable format with proper indentation. Shows exact byte savings and percentage reduction.

Reviews

Sign in to write a review