Look inside any SVG - size and viewBox, elements and paths, fonts, colours, embedded images, scripts, external links and editor junk you can safely remove. Want it lighter? Use Compress SVG.
Need a raster copy for a site or app that does not take SVG? SVG to PNG renders it at any size.
An SVG is code, not just a picture.
It can carry scripts, links to other servers, fonts that are missing on other computers, and kilobytes of editor data.
Design apps add metadata, comments, editor attributes and over-precise numbers.
The analyzer adds those up as removable bytes - typically 20-60% of an Inkscape or Illustrator export.
Compress SVG removes them without changing the look.
| Unit | Pixels at 96 dpi |
|---|---|
| px | 1 |
| pt | 1.333 |
| mm | 3.78 |
| cm | 37.8 |
| in | 96 |
| % or none | from the viewBox |
An SVG with only a viewBox has no fixed size - the analyzer reports the viewBox size and flags it.
Drop it in. The checks list every script, event handler (onload, onclick...), javascript: link, foreignObject and external reference. Opened through an <img> tag, scripts never run.
The Elements tab lists every font family in the text elements and styles. Common system fonts are fine; others may look different elsewhere.
It has no width and height, only a viewBox - or neither. The analyzer shows the size it would take and how to fix it with the SVG Resizer.
Check Removable bytes, then run Compress SVG. Embedded PNG or JPG images are often the biggest part.
A compressed .svgz is recognised; unzip it or open the plain SVG for the full analysis.
No. The SVG is read in your browser and never leaves your device.