Skip to content

SVG Optimizer

Strip the bloat out of exported SVG files.

Before

Original SVG

After

Optimised SVG

Quick Tool Overview

The SVG Optimizer strips what a browser never reads — editor namespaces, generator comments, layer names, empty groups — and rounds path coordinates from fifteen decimal places to something a screen can actually resolve. Editor exports commonly drop 40 to 70 percent, with the before and after rendered side by side to prove nothing moved.

What it does
Cleans and minifies SVG markup
You give it
An SVG file or pasted markup
You get back
Smaller markup that renders identically
Best for
Icons and illustrations exported from design tools
Image Tools Free, unlimited use No sign-up Runs in your browser

About the SVG Optimizer

An SVG exported from Illustrator, Figma or Inkscape carries a lot that a browser never reads: editor namespaces, generator comments, layer names, empty groups and path coordinates written to fifteen decimal places.

Removing all of that typically cuts 40 to 70 percent with no visual change whatsoever. The single biggest win is usually coordinate precision — two decimal places is beyond what any screen can resolve, and dropping to it can halve the file on a complex path. Each transformation can be switched off individually, and the before-and-after preview is drawn so you can confirm nothing moved.

Key features of the SVG Optimizer

Coordinate precision control

The single biggest win on complex paths — two decimals is beyond what any screen resolves and can halve the file.

Visual proof

Before and after are rendered together, so a transformation that broke something is immediately visible.

Each pass is optional

Every removal can be switched off individually, because a file that relies on IDs or a namespace should keep them.

ID removal off by default

CSS, script, gradients and clip paths all reference IDs, so that pass stays off unless you know the file.

Paste or upload

Works from markup on the clipboard as readily as from a file, which is how SVG usually arrives.

How to use the SVG Optimizer

  1. 1

    Add the SVG

    Drop in the file, or paste the markup.

  2. 2

    Choose what to strip

    Metadata, comments, editor attributes and empty groups are safe on almost every file.

  3. 3

    Set the coordinate precision

    Two decimals is plenty for screen use and is where most of the saving comes from.

  4. 4

    Compare and download

    The rendered before and after are shown side by side. Save the optimised markup.

Frequently asked questions

It should not. Everything removed is metadata a renderer ignores. Rounding coordinates is the one lossy step, and at two decimals the difference is far below one pixel.

Reviews of the SVG Optimizer

What people who use the SVG Optimizer think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the SVG Optimizer. It takes half a minute and no account.

Write the first review

More image tools