SVG Image Compressor

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

  1. Select a file

    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)

Browser support for SVG

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.

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

The problem that some users can't compress files is a bit more serious than thought. I would ask these users to follow the instructions on the following page: processing.compress-or-die.com/cookie-repair Sorry for the inconvenience. 😔

2022-01-14