Free tool

SVG optimizer

Shrink an SVG file without changing how it looks.

Runs in your browserNothing is uploadedNo account needed
Original SVG
Optimized SVG
DOMParser is not defined

How to use it

  1. 1

    Paste your SVG code or drop in an SVG file.

  2. 2

    Choose which clean up options to apply and compare the preview.

  3. 3

    Copy the optimized code or download the file.

About this tool

SVG files exported from design tools often carry editor metadata, comments and unused definitions. Removing them makes the file smaller and your pages faster, without changing how the image looks.

This optimizer shows how much you saved and lets you compare before and after. Your files stay on your device.