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. Look at the preview, not at the original source, to see what survived.
  3. Download the cleaned SVG if you are ready to ship it.
  4. Open the inspector if you need the viewBox and the element counts in text.

What is SVG viewer?

An SVG from the web can contain a script, a foreignObject, or an image pointed at another site. Previewing it by dropping it into a page would run that. This viewer rebuilds the drawing from a safe subset: ordinary shapes, paths, gradients, text, groups, and a limited set of paint attributes. Scripts, document types, and URLs that are not a local fragment are dropped. You see the geometry and you can download the cleaned SVG.

Read more

The optimizer is the same cleaning pass with the extra step of minifying and dropping editor leftovers. The inspector reports viewBox, size, and element counts instead of handing you a picture. Rasterize is the page that turns the cleaned drawing into a PNG at a size you choose.

If the original relied on a filter, a font, or an external image, the preview will look simpler than the authoring tool. That difference is the report. A drawing that needs those features is not a safe sticker to paste into a page.

Use cases

  • A developer checks a third-party SVG before inlining it.
  • A designer sees which parts survive once scripts and external images are gone.
  • An email template author wants a static icon with no script.
  • A reviewer compares the cleaned file with the original side by side.
  • Someone confirms a logo still reads after unsafe attributes are stripped.

A logo that arrived with an editor payload

logo.svg exported from a drawing tool, possibly with extra metadata.

A cleaned SVG preview of the paths and shapes. Scripts and remote references are gone. Download that cleaned file if the preview is the art you wanted.

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

No. The preview is a rebuilt document. Script, foreign markup, and external URLs are not copied over.