Skip to content
hateitall

SVG Inspector

See everything inside an SVG at a glance, from its real size to hidden scripts and missing accessibility labels.

Processed locallyIn: SVG, SVGZOut: Report, JSON

Loading tool…

How to use svg inspector

  1. Paste SVG markup or open an .svg or .svgz file.

  2. Read the canvas panel for width, height, viewBox and the size it will draw at.

  3. Check colours, fonts, ids and element counts, and the accessibility panel.

  4. Review the safety report, then copy or download the full report as JSON.

What this tool does

  • Lists every element type with counts, the number of path commands and any path data a browser will only partly draw.
  • Collects colours from attributes, inline styles and style blocks, plus fonts, classes, ids and duplicate ids.
  • Reports embedded raster images with their format and size, text content, and traces of the editor that made the file.
  • Checks title, desc, role and aria attributes, and lists scripts, handlers, foreignObject and external references.

How the result is verified

Counts come from a fresh parse of your original markup; the preview and safety list come from a separately cleaned copy, so removed items still appear in the totals.

Frequently asked questions

Why does my SVG draw at the wrong size?

Without width and height a browser falls back to the viewBox, or to 300 × 150 pixels when there is no viewBox either. The canvas panel shows which rule applied and the size that results.

What makes an SVG unsafe?

Script elements, on* event handlers, javascript: links, foreignObject with HTML inside, and references to files on other servers. They only matter when the SVG is opened as a document or inlined in a page, but are worth removing before you publish.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Preview SVG safely, see what was stripped, export PNG at any size

SVG · SVGZ→ PNGLight on device

Minify SVG, strip editor metadata, verified by pixel comparison

SVG · SVGZ→ SVGLight on device

Inspect EXIF, GPS, and device fields grouped by risk, then export a stripped copy that is rescanned to prove it.

JPEG · PNG · WebP +→ JPEGLight on device

HEX, RGB, HSL, OKLCH, OKLab, Lab and P3 with gamut warnings

Colour · HEX · CSS colour→ HEXLight on device