SVG Image Compressor

This SVG image compressor shrinks your SVG logos, illustrations or icons to the smallest file size and best quality possible.

  • Made in Germany
  • EU GDPR compliant
  1. For best results use high quality source material that hasn't been compressed before.

  2. Drag & Drop

    Drag your image file onto this website. You can do this anytime.

  3. Paste image URL

    Paste an image URL from your clipboard into this website. You can do this also on the image processing page.

  4. Paste Base64 Data URI

    Paste a Base64 Data URI from your clipboard into this website. You can do this also on the image processing page.

  5. Paste image data

    Paste an image from your clipboard into this website. You can do this also on the image processing page.

  6. Use this Photoshop JSX-Script

    Use the script to send an image from Photoshop to compress-or-die.
    Copy it to the Photoshop Scripts folder. Overwrite what’s there if you’re asked.
    Windows: C:\Program Files\Adobe\Photoshop CS...\Presets\Scripts
    Mac OS X: Applications/Photoshop CS.../Presets/Scripts
    Restart Photoshop.

Allowed file formats: JPEG, PNG, GIF, WebP, SVG (max. 8 MiB)

Features

  • Uses proven SVG compression library "svgo"
  • Additional "Extreme compression" to shave off even more bytes
  • Prepares the image to ensure best gzip/brotli compression
  • For the technical enthusiats: Uses svgo, puppeteer and a lot of custom code.

Do you like the SVG Compressor?

Then it would be nice to share it with others.

Facebook Twitter Reddit

Why should I use this SVG compressor?

The small file size, crisp rendering at all zoom levels, and full browser support make the XML-based vector image format SVG the perfect format for logos, illustrations, and icons on websites.

Unfortunately, graphics programs (e.g. Adobe Illustrator, Adobe XD, Inkscape, Affinity Designer, Sketch, Figma, etc.) add a lot of meta-data and attributes to the SVG file, but these are not needed for display.

This compressor uses svgo to remove the data that is unnecessary for display. Furthermore, another extreme compression stage has been added, which again brings between about 10 and 20 percent savings in compression, making the result even considerably smaller than vecta.io's nano-compressor.

Browser support for SVG

ArticleThe big image compression tool comparison

Logos of compress-or-die, optimizilla, JPEGmini, Compressor.io, tinyjpg, kraken.io

There are a lot of articles about online image compression tools in the net, most of them are very superficial. Usually they end with a simple: "It generates smaller pictures, so it's got to be better."

Learn why such statements are most of the time meaningless, understand the technical background, and find out which tool you should use as of today.

18 min read

Read article

News
Christoph Erdmann
Stability issues
2023-05-11

For about a week, there have been stability issues that have caused COD to be temporarily unavailable. I will continue to monitor and analyze the problem.


Check out our Reddit channel if you want to comment on the news.