Skip to content
OddsockLocal
Local

No files yet.

Waiting for inputRuns in this browser. Nothing is uploaded.

How to use

  1. Drop one SVG.
  2. Preview the cleaned result. If a piece of art vanished, it was not in the safe subset.
  3. Download the optimized file.
  4. Check the viewBox in the inspector if the layout size looks wrong.

What is SVG optimizer?

An export from a drawing app carries editor namespaces, empty groups, comments, and sometimes a hidden rectangle the size of the artboard. Optimize runs the same safe rebuild as the viewer, then minifies: whitespace and non-essential text nodes go away, while real text inside text elements stays. The download is a smaller SVG you can inline.

Read more

Smaller is not the same as identical. A filter, a mask the sanitizer cannot prove is local, or an embedded photograph will not survive. If the preview after optimizing loses a shadow or a photo, the original depended on something this page will not keep. Bake that effect into paths in the authoring tool, or ship a PNG from the rasterize page.

The inspector tells you whether the viewBox survived. Run it if the optimized file lays out at the wrong size. The byte saving is real on icon sets and modest on a file that was already a single path.

Use cases

  • A set of marketing icons is stripped of editor metadata before it is committed.
  • An illustration loses a script a plugin inserted.
  • A page inlines a logo and wants fewer bytes in the HTML.
  • A design handoff is cleaned so the next person does not ship an external image reference.
  • A before-and-after check confirms text in the logo is still there after minify.

A drawing-app export of a wordmark

wordmark.svg with editor metadata and a <text> element.

A smaller SVG. The wordmark text remains. Editor debris, scripts, and remote links do not.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

It was already a few paths. The win is on exports full of metadata, unused groups, and pretty-printed whitespace.