CSS Prettifier
Format CSS rules with consistent spacing.
Reference Guide
Development tool — all processing runs locally in your browser. No data is sent to a server.
Operation: css-prettify
Paste input, click Run, and copy the result. For two-input tools, fill both fields before running.
Example Input
.btn{padding:8px 16px;background:#10b981;color:#fff}A sample loads automatically when you open this tool. Use Load Sample to reset it.