CSS & SVG Minifier
Raw CSS Input
Loading editor…
CSS & SVG Minifier Online
How to use CSS & SVG Minifier
- Select 'CSS' or 'SVG' mode from the dropdown menu in the header.
- Paste your unminified CSS or SVG code into the left Input editor.
- Click 'Minify' to compress the code.
- View total bytes saved and compression percentage in the badge.
- Click 'Copy' to copy the minified asset directly to your clipboard.
Edge Cases & Limitations
- Regex-based minification strips comments, redundant spaces, and trailing semicolons safely without modifying code logic.
- Ensure SVG markup has matching tags for proper browser rendering.
Keyboard Shortcuts
- Ctrl/Cmd + K — Open Command Palette to switch tools instantly.
100% Client-Side Privacy
All inputs are processed entirely inside your browser's memory using JavaScript. No data is ever transmitted to any server. Your tokens, JSON payloads, cURL commands, and timestamps never leave your machine.