No files yet.
A logo labeled 24 by 24 sometimes has a viewBox of 0 0 512 512 and a width set in percent, which is why it blows up in one layout and vanishes in another. The inspector parses the file, drops unsafe content the same way the viewer does, and reports width, height, viewBox, the number of elements, and the number of paths. Missing width or height is filled from the viewBox when that box has a positive size, otherwise from a small default, so the report shows a number you can lay out.
Element count is a complexity smell. A path-count in the thousands means an icon that was traced from a photo and will be heavy to paint. A count of a handful of paths is a logo. The report is JSON, not a cleaned file. Download the cleaned SVG from the viewer or the optimizer if you need the markup.
The safety pass runs first, so a script tag will not appear as an element in the count. You are inspecting what would actually be safe to inline.
icon.svg with a viewBox and a width attribute.
JSON listing width, height, viewBox, element count, and path count, measured after unsafe nodes are removed.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
A missing or percentage width is replaced from the viewBox so the document has a concrete size. The report tells you what the safe copy will claim.
No. It means the drawing is heavy. Unsafe script and remote references are removed before the count, so they do not inflate it.
The viewer is the preview. This page is the numbers. Rasterize if you need a PNG.
A handful to a few dozen. Hundreds often means a traced bitmap wearing an SVG extension.
No. You get a report. The original file is untouched.