en

SVG optimization

Shrink an SVG file locally: comments, metadata and editor cruft removed, paths shortened - no upload.

Running locally on your device ...

Your files

    Running locally on your device ...

    0%

    Your files never left your device

      Continue with this file

      No re-upload needed

      These tools accept .SVG - your file is handed over directly.

      Is my file uploaded?

      No. Everything runs in your browser - your file never leaves your device. How this is verifiable

      No upload100% local
      Your content stays with youno third-party access
      Hosted in GermanyGlobal Content Delivery
      Independently auditedTLS A+ · HTTP headers A+

      An SVG exported from Illustrator, Figma, Inkscape or Sketch usually carries far more markup than the actual rendering needs: an XML prolog, generator comments, an unused metadata block, redundant groups and long, unrounded path coordinates. For a single graphic that hardly matters, but across many icons on one page it adds up to noticeably more load time.

      This tool uses SVGO, the de-facto standard for SVG optimization, with its well-established preset-default rule set: comments and metadata are dropped, shapes like rectangles or circles are merged into shorter path equivalents where that saves bytes, numbers are rounded and unused definitions are removed. The result looks visually identical but is noticeably smaller.

      Deliberately conservative: the viewBox attribute is preserved (SVGO no longer strips it by default, because that can break a graphic's responsiveness), and there are no aggressive, riskier extra plugins to toggle on. If you want to convert the graphic to a raster, or you have an .svgz file, the matching neighbor tools are listed below.

      Specifications

      Specifications
      Input formatsSVG
      Auto-conversionPNG, JPG, WebP, GIF, BMP, TIFF, ICO, HEIC, DDS, HDR, PCX, WBMP
      Output formatSVG
      Batch processingYes
      ProcessingLocally in your browser (JavaScript)
      File uploadNone

      In 3 steps

      1. Drop or tap your SVG file(s).
      2. The tool optimizes the SVG locally.
      3. Download the shrunk SVG (several as a ZIP).

      Limitations: Optimization uses the standard rule set (preset-default) with no adjustable extra plugins. Very unusual markup (for instance complex filters or scripts inside the SVG) can limit the savings. Invalid SVG that cannot be parsed as XML is honestly rejected instead of producing a broken file.

      FAQ

      Is my file uploaded?

      No, everything runs locally in the browser - even offline.

      Does the graphic look different afterwards?

      No, it stays visually identical - only redundant markup is removed.

      Is the viewBox attribute preserved?

      Yes, it is deliberately not removed so the graphic stays responsive.

      How much smaller does my file get?

      It depends heavily on the source - exports from design programs usually shrink the most.

      Can I optimize several SVGs at once?

      Yes. Drop several files; with multiple results you get them as a ZIP.

      Related tools

      PNG to SVG · Image to Data URI · Favicon generator