Compress SVG

Compress SVG files in your browser. Compare original and output sizes, preview results and download files or a ZIP.

0 files
Compression settings

If the candidate is not smaller, the original file is retained.

0 files ready.
PASS IT ON

A useful tool is worth sharing.

HOW IT WORKS

Three steps. Ready for what’s next.

01

Add your files

Choose SVG files or a folder. Files stay on your device.

02

Compress and compare

Remove XML comments and optionally editor metadata while preserving SVG drawing markup.

03

Download the results

Download each result or one ZIP. If compression does not save space, the original is retained.

About Compress SVG.

Compress SVG locally

Upload one or more files, review the before-and-after sizes and download your results. Processing takes place in your browser. Each file can be up to 50 MB.

What changes

The SVG remains a vector image. XML comments and the XML declaration are removed. Removing editor metadata is optional. Text spacing, IDs, shapes, scripts and style rules are preserved; this tool does not sanitize SVG or execute its contents.

Compare before saving

An already optimized file may not shrink. The tool keeps the original whenever the candidate is equal to or larger than the input, so a download never grows because of compression. Quality and dimension changes only apply when that candidate is smaller. ZIP downloads keep safe source folder paths and file names.

Browser compatibility

No conversion service or account is required. Raster processing is limited to 40 megapixels and 16,384 pixels per side. Large batches are processed sequentially; ZIP output is limited to 500 MB.

A LITTLE CLARITY

Good questions. Simple answers.

A few helpful answers before you get started.

Do I need an account?

No. This tool is open to everyone without signing in.

Does this tool need the internet?

The files are processed on your device. Open the tool online once to load its assets.

Still have a question?Get in touch