SVG Metadata Viewer
Inspect embedded metadata, editor fingerprints and SVG document information.
How It Works
SVG Metadata Viewer reads and reports the metadata of an SVG document entirely in your browser. Paste SVG markup, upload an .svg file or try the built-in sample, then click Analyze Metadata. The tool parses the SVG and shows the root element's attributes, the viewBox and width/height with the derived aspect ratio and dimension source, the title and description and any metadata element, every declared namespace (standard, editor or custom), a full breakdown of the document structure (element counts and which features like gradients, masks, clipPaths, filters, patterns, symbols and markers are present) and basic safety signals such as scripts, event handlers, foreignObject and external or data-URL references. Unlike the Edit and Optimize tools, this viewer never changes your SVG — it only reports what is already there, and it leaves every id, class, url and metadata value exactly as written. SVGTrim inspects SVG metadata locally in your browser. Your SVG file is not uploaded, and the tool does not modify the original markup.
Use Cases
- Checking whether an SVG has a viewBox and a sensible aspect ratio before using it responsively
- Auditing an exported SVG for title and description elements that matter for accessibility
- Spotting editor namespaces and leftover metadata from Illustrator, Inkscape, Figma or Sketch
- Quickly counting elements and detecting gradients, masks, filters and other heavy features
- Reviewing an unfamiliar SVG for scripts, event handlers, foreignObject and external references before trusting it
FAQ
What is SVG metadata?
SVG metadata is the document-level information attached to an SVG file — the root attributes, viewBox and dimensions, the title and description, any <metadata> element, the declared XML namespaces and the overall structure. It describes the file rather than the artwork itself, and this viewer surfaces all of it in one report.
How can I see the viewBox information?
Paste or upload your SVG and click Analyze Metadata. The Dimensions panel shows the raw viewBox value plus its minX, minY, width and height, the width and height attributes, the derived aspect ratio and which of those defines the SVG's coordinate system.
What do SVG title and desc do?
The <title> and <desc> elements provide accessible names and descriptions that assistive technology can read, similar to alt text for images. The Title / description panel reports whether they exist and previews their text so you can confirm your SVG is accessible.
Why do namespace details matter?
Namespaces tell you which standards and editors an SVG uses. The standard SVG and xlink namespaces are expected, while inkscape, sodipodi, figma or sketch namespaces reveal the editor of origin and usually carry removable metadata. Unknown namespaces are flagged as custom so you can review them.
Is my SVG file sent to an external service?
No. SVGTrim inspects SVG metadata locally in your browser. Your SVG file is not uploaded, and the tool does not modify the original markup. There is no API call, no AI involved and no external service involved in the analysis.