CSS Beautify/Minify
Beautify or minify CSS source code. Choose readable indentation or compact output for your development workflow.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Format CSS”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
:root{--accent:#087f8c;--gap:1rem}body{margin:0;font-family:system-ui;background:#f4f8fb}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}.card{padding:1.5rem;border:1px solid #dde5ed;border-radius:12px}.card:hover{box-shadow:0 4px 16px #0002}@media(max-width:640px){.cards{grid-template-columns:1fr}.card{padding:1rem}}