Diagnostic

SVG inspector

All tools

Choose, drop or paste an SVG. It is read in your browser and nothing is uploaded; the preview appears only after the file passes. The inspection uses the same SVG allowlist the archive applies to submitted and imported SVG files.

Or drop an SVG here. It is read in this browser and not uploaded. Up to 2 MB.

Results appear here. Everything runs in your browser; nothing is uploaded.

How to check an SVG logo

  1. Choose or drop the .svg file, or paste its source code.
  2. Read the result line: rejected, passed with warnings, or passed.
  3. Fix blocking items in the design application and export again; review the warnings.
  4. Download the sanitized copy when the file passes, and keep your original master.

Worked example: the unsafe sample

Select “Load an unsafe sample”. The inspector rejects it and lists a script element, an onload event handler, an @import stylesheet and a linked image from another domain, a javascript: link, a foreignObject, live text and an embedded image. “Load a clean sample” shows a two-shape mark that passes every check.

What each check looks for

CheckWhy it matters
Well-formed XML and SVG rootA file that does not parse, or is not an SVG document, is rejected before anything else is read.
Supported passive SVGOnly drawing elements and attributes on the archive’s allowlist are kept; anything else rejects the file.
SizeFiles over 2 MB are not inspected.
viewBox presentWithout a viewBox the drawing may not scale or crop correctly (warning).
No <script> or event handlersScripts and on* attributes can run code when the SVG is opened directly or inlined in a page.
No external referencesLinks to remote images, stylesheets or fonts can track viewers and break when the remote file changes.
No javascript: URLs or foreignObjectBoth can carry script or HTML into a page that inlines the SVG.
Text converted to outlinesLive <text> depends on fonts installed on the viewer’s device (warning).
Pure vectorAn embedded <image> means part of the “vector” file is a raster picture (warning).

Questions about SVG inspection

Is my SVG uploaded?

No. The file or pasted source is read and checked by scripts in this browser tab. Nothing is sent to SimilarLogo, and the preview appears only after the file passes.

What does the sanitized copy change?

It keeps only supported drawing markup, removes everything else and renames IDs so they cannot clash with other SVGs on the same page. It is not a minifier and does not convert text to outlines or redraw raster images.

Does a pass mean the SVG is safe to publish?

It means the file uses only the supported SVG vocabulary the archive accepts. It is not a malware scan, a full security review or a check of publication rights. A rejection can also mean the file uses design features outside that vocabulary.

Why is a compressed .svgz file rejected?

Compressed SVG has to be unpacked before it can be read. Export an uncompressed .svg file from your design application and inspect that.

Continue

Next step

Optional usage measurement

Help us understand which catalogues and file formats are useful. We do not record search text, uploaded images, names, email addresses or IP addresses in usage events. Events expire after 30 days. Local, staff and recognised bot traffic is separate.

Measurement is off until you opt in. Downloads have separate operational delivery counts.