Free plan: 1 conversion/hour, 1 file at a time
Go Unlimited →

Compress SVG

Free Online SVG Compressor

Go with your files

*Files deleted after 24 hours

Optimize files free, Pro users can convert much larger files; Sign up now

Uploading

0%

How to Compress SVG

1 Drop your SVG files into the box above, or pick them from your device — there is nothing to install and no account to create.
2 Choose how hard to squeeze: a quality or bitrate target, and optionally smaller dimensions if size matters more to you than detail.
3 Start the job and let the workers re-pack the file; your original is never modified in place.
4 Compare the new size against the original, then download the compressed SVG file.

Compress SVG FAQ

Does the format of my file change how much I can save?
+
Very much so. SVG is XML geometry rather than pixels, so it scales to any size without blurring but has no pixel grid to sample from. That determines both the headroom available and whether the saving costs you anything in fidelity.
Yes — nothing is sampled: the file is edited as text, so the result is still infinitely scalable and still diffable in version control. It is worth knowing before you overwrite an original you might need again.
Concretely, nothing is re-encoded at all — editor metadata is stripped, redundant groups and empty transforms are collapsed and path coordinates are rounded to a sensible precision, so the file gets smaller while remaining pixel-perfect at every zoom level. Nothing about it depends on you installing software: the job runs server-side and hands back a finished file.
That is decided by the content, not by the tool. Photographic detail and film grain resist compression; flat colour, text and silence collapse. A realistic expectation is a large reduction on anything with big uniform regions and a modest one on a busy photograph or a high-motion clip.
Yes. The output is still valid SVG markup — named layers, grouping and IDs survive — so you can reopen it in Inkscape or Illustrator and keep working. It also still diffs cleanly in version control.
SVG files, including ones exported from Illustrator, Figma, Inkscape or a charting library. Embedded raster images inside the SVG are carried through as-is.
Yes: free accounts process images up to 5 MB each, which an SVG essentially never approaches — a complex illustration is usually a few hundred kilobytes of text. In practice the thing that makes an SVG heavy is thousands of path nodes from an auto-trace, not the file size, and that is a different problem from the cap.
No, and it cannot: an SVG has no pixel grid to degrade. The geometry is transformed mathematically, so the result is still crisp at any zoom level and still openable in a vector editor.
WEBP.to is built around the modern replacement for both of the old defaults: one format that does lossy, lossless, alpha and animation, and reliably lands smaller than the JPEG or PNG it came from. People arrive here having decided the old defaults are costing them bandwidth, and that decision immediately raises the rest: what size, what quality, what happens to the transparency. Compress SVG is on the same upload and the same account so those questions get answered in one place.
The converter on this site moves images to and from WebP, PNG, JPG and AVIF, which is where you decide whether a smaller file is worth losing the older browsers. Doing it in that order matters: pick the pixels first and the container afterwards, because the container is the cheap decision and the pixels are the expensive one.
The engines are identical — same libraries, same workers, same caps. What is different is the opinion attached, and the opinion here rests on a property of the format this site is named after: the same .webp extension can hold a lossy VP8 frame, a lossless one, or an animation, so the sensible processing path is decided per file rather than per extension.
No account, and nothing is retained: uploads are deleted from the workers shortly after the job finishes, and nothing is inspected, listed or indexed. Accounts exist for history and batch size only.

Rate this optimizer
5.0/5 - 0 votes
ns6.com — Your domain, done right. Free privacy and DNS included.
Or position your files here
Made by @nadermx