Image tools Free · No sign-up · No upload

Compress SVG Files

Clean up SVG files from Illustrator, Inkscape or Sketch and make them lighter. The drawing looks the same, and your files never leave your browser.

  • Free, no daily limits
  • Files stay on your device
  • Looks the same
  • No watermark
Choose svg filesor drop them here · SVG
  • Runs on your device. Files are never uploaded.
  • Free and unlimited. No sign-up, no watermark.
Private: processed in your browserNo upload waitIN: SVG → OUT: SVG
How was Compress SVG?
How it works

Compress SVG in three steps

No account, no email, no waiting for an upload.

  1. STEP 01

    Add SVG files

    Drop one or more .svg files on the page, or tap Choose file.

  2. STEP 02

    Choose decimal precision

    Keep Automatic for a safe result, or round coordinates harder for even smaller files.

  3. STEP 03

    Download the minified SVG

    Save the cleaned files. Several come as a ZIP.

What you get

What Compress SVG does, and what it doesn't

We'd rather tell you up front than surprise you after the download.

What you get

  • Removes dead weightStrips comments, the XML declaration, metadata and editor-only data from Inkscape, Sketch and Illustrator.
  • Tighter markupWhitespace between tags and extra spaces inside them are cleaned up.
  • Smart decimalsAutomatic mode rounds long numbers by an amount that should not change how it looks.
  • Text and styles untouchedText, style blocks and scripts are left exactly as they were.
  • Never biggerIf nothing can be removed, you get the original file back with a note.

Good to know

  • Rounding can change shapesThe 2 and 1 decimal options are smaller but can slightly shift tiny details. Always preview the result.
  • Not a full optimizerThis clean-up does not redraw or merge paths. A badly built drawing may still be large.
  • Embedded bitmaps stay as they arePictures inside an SVG are not recompressed. Compress them separately, for example with Compress JPG.
  • Must be real SVGA file that is not valid SVG text is rejected. To make a raster copy, use SVG to PNG.
Private by design

Your photos never leave your device

The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.

Typical online tool upload

Your device→Their server→Your device

Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.

Mediaextractr no upload

Your device does all the work

The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.

Made for real work

When people use Compress SVG

Speed up a website

Trim logo and icon files that load on every page.

Tidy code before committing

Remove editor clutter from SVGs in a project.

Prepare icons for an app

Ship leaner vector assets.

Email a logo

Make a vector file small enough to attach.

Compare

Mediaextractr vs typical upload tools

MediaextractrPrivateTypical upload tools
Your file is uploadedNeverYes
Sign-up neededNoOften, after a few files
Daily file limitNoneOften 1–2 free files
WatermarkNeverSometimes
Wait for upload & downloadNoYes
Speed on very large filesDepends on your deviceDepends on their servers

What gets removed

Design apps save more than the shapes. SVG files often carry comments, document metadata, grid and guide settings, and private namespaces that only the editor reads.

None of it changes how the image looks in a browser, so it can go. Removing it often cuts a file by a good fraction, and the result still opens in your editor.

Choosing the decimal setting

The setting controls how long coordinate numbers can be:

  • Automatic: picks a precision based on the drawing size. Best for most files.
  • Keep every decimal: clean-up only, with no rounding.
  • 2 decimals: smaller, fine for most icons.
  • 1 decimal: smallest, check small details closely.

Before you publish

Open the original and the compressed file side by side at a large size. If they match, replace the original. If your SVG needs to become a bitmap for an app that cannot use vectors, convert it with SVG to PNG.

FAQ

Questions, answered

How do I compress an SVG file?

Add it here, leave the setting on Automatic and download the minified SVG.

Will the SVG look different?

In Automatic or Keep mode it should look the same. Rounding to 1 or 2 decimals can shift tiny details, so check it.

Is my SVG uploaded?

No. The clean-up is done in your browser, so your artwork stays on your device.

Does it remove Inkscape and Illustrator data?

Yes. Editor-only namespaces, metadata and comments are stripped.

Does it work on phone, Mac and Windows?

Yes, in any modern browser.

What if the file cannot be made smaller?

You get the original back, with a note that there was nothing left to remove.