Paste or drop an SVG. SVGIFY rounds coordinate precision, folds whitespace, and drops unused editor data — visually identical, meaningfully smaller.
Drop an .svg file here
or click to browse · paste markup below
— or —
Design tools export coordinates to 8–9 decimal places. We round them to 2 — visually indistinguishable, but often 50% smaller.
Strips Inkscape, Illustrator, Figma & Sketch editor data — namespaces, guides, layer info — that browsers never read.
Everything runs client-side in your browser. No uploads, no server, no account — works offline after page load.
Focuses on reducing numeric precision — the single biggest source of file size savings for most SVGs.
Strips non-visual cruft — comments, namespaces, and metadata that design tools embed.
Most of the extra weight in an exported SVG isn't visual — it's precision you can't see and metadata you never asked for. Design tools routinely write coordinates to eight or nine decimal places, when two is plenty for anything rendered on screen. They also embed editor-specific namespaces purely so the file re-opens correctly in that same editor — a browser or a bundler never reads them.
SVGIFY's compressor targets exactly that bloat. It parses your SVG with the browser's built-in DOMParser, applies a series of targeted transformations, then re-serializes the result with XMLSerializer. The output is visually identical to the original but often 40–70% smaller.
Every point on an SVG path is stored as a decimal number. A circle exported from a design tool might have a center at cx="123.456789012" — but on a 1920px-wide screen, the difference between 123.45 and 123.456789012 is literally less than a pixel. Our compressor rounds all numeric coordinates to your chosen precision (0–4 decimal places), which is the single biggest source of file size reduction for most SVGs.
Design applications like Inkscape, Adobe Illustrator, and Figma embed extensive metadata in SVG files: <metadata> blocks, sodipodi: and inkscape: namespaced attributes, layer information, and guide definitions. None of this data affects how the SVG renders in a browser, but it can double or triple the file size. The compressor strips all of it with one click.
Smaller SVG files deliver tangible benefits across the board:
On SVGIFY, the Compressor and Minifier share the same optimization engine but default to different priorities:
For the smallest possible file, run your SVG through both tools: minify first to clean it up, then compress to reduce precision. The combined effect can reduce file size by 60–80%.
Beyond using our compression tool, here are additional strategies to keep your SVG files lean:
SVG files are a key part of modern web design — used for logos, icons, illustrations, and data visualizations. But unoptimized SVGs can hurt your site's performance. Here's how compression fits into the broader picture:
After compressing your SVG, you can also export it as a PNG using the SVG to PNG tool if you need a raster fallback for older browsers or email clients.
Convert any raster image (PNG, JPG, WebP) into clean SVG paths — ready for editing or scaling.
Try it →Aggressively strip comments, whitespace and editor data — ideal for production deployment.
Try it →Export crisp PNGs from any SVG at custom sizes — perfect for email clients and social sharing.
Try it →