100% in-browser — zero uploads Batch + zip download, free Maintained 2026 · 0 uploads

SVG COMPRESSOR · FREE · NO UPLOAD

SVG Compressor

Shrink SVG markup without leaving your browser — the industry-standard SVGO optimizer (v4, the engine inside svgomg) runs here as vendored JavaScript, and every file gets an exact receipt: original size, optimized size, percent saved. Typical editor-exported SVGs lose 30–60%: comments, metadata, hidden elements and verbose numeric precision are dead weight. Three presets are honestly different — Safe pretty-prints and strips only junk (comments, metadata, scripts, doctype), Balanced runs full structural cleanup and keeps the viewBox, Extreme additionally strips the viewBox and rounds coordinates to 2 decimals for the smallest bytes — visually lossless in practice, though high-contrast antialiased edges can shift by a fraction of a pixel. Batch included.

Drop files here or

Processed locally in your browser — nothing is uploaded. Batch supported.

0 uploads — verified locally 0 uploads

The 2026 state of SVG Compressor

Field2026 state
EngineSVGO 4.1.0 (MIT), vendored — same optimizer family as svgomg
PresetsSafe (pretty-printed; comments/metadata/scripts/doctype only) · Balanced (full structural cleanup; keeps viewBox) · Extreme (Balanced + viewBox removal + 2-decimal rounding + sorted attributes)
ReceiptPer file: before → after in KB with exact percent saved; batch total in the status line
Script safetyScript elements are stripped in every preset — compressed files are safe to serve
viewBoxKept in Safe/Balanced (scaling depends on it); removed only in Extreme
Typical savings30–60% on Illustrator/Figma/Inkscape exports; hand-written SVGs save less
BatchMulti-file queue, single zip download
PrivacyOptimization in your tab — 0 uploads

FAQ

Which preset should I use?

Balanced for almost everything — it keeps the viewBox (required for responsive scaling) and still saves 30–60%. Use Safe when the file is already hand-tuned, Extreme when you'll visually verify the result before shipping.

Why did my SVG stop scaling after compression?

You ran Extreme, which strips the viewBox. Without it the SVG has a fixed pixel size. Re-run on Balanced — it never removes the viewBox.

Is it safe to serve the optimized SVG?

Yes — every preset strips script elements. Still, if an SVG came from someone else, eyeball the markup; that advice holds for any optimizer.

Last updated: · Launch: vendored SVGO 4.1 with 3 presets and per-file percent-saved receipts · change history