How to compress SVG
- 1
Add your SVG files
Drag and drop SVG files onto the compressor, paste them, or click to browse. You can add several at once.
- 2
Keep the default
SVG compression is lossless, so there's nothing to tune: every file comes back with identical contents.
- 3
Compress
Click Compress. Your SVG files are processed right in your browser, usually in seconds.
- 4
Download
Download each smaller SVG, or everything at once as a ZIP.
What compression does to SVG
Minifies the markup: removes editor metadata, comments and redundant attributes.
It's lossless, so there are no quality levels to choose between: every file comes back with identical contents, just packed more tightly.
Why there are no target sizes
Lossless compression never throws anything away, so how small a SVG can get depends entirely on what's in it. There's no quality dial to turn until the file hits 1 MB or 100 KB, which is why SVG has no target-size pages.
SVG · Scalable Vector Graphics
SVG describes graphics as shapes and paths in XML, so it stays perfectly sharp at any size and is natively supported by every browser.
- Type
- Vector
- Extension
- .svg
- MIME
- image/svg+xml
- Best for
- logos, icons, illustrations and responsive web graphics
Compress other images
All images →Compressing SVG: frequently asked questions
Smaller SVG files, in seconds.
No sign-up, no watermark, no upload. Drop a file and get it back lighter.
- Most conversions never leave your device
- Cloud files deleted automatically
- No watermarks