2

Structured data markup is a standard way to annotate your content so Google can understand it. However, I am not sure, if Google will accept and parse svg+xml images as a value for the Schema.org image property.

The Structured Data Testing Tool shows no errors:

Google’s Testing Tool shows "All good" for "WebApplication" and "SoftwareApplication".

Snippet:

{
  "@context": "http://schema.org",
  "@type": "SoftwareApplication",
  "name": "Our application name",
  "image": "https://my.company/files/images/desktop-icon.svg",
  ...
}

There is a related question, but it does not apply the new application/ld+json format.

3
  • What makes you doubting it?
    – unor
    Commented Apr 2, 2015 at 22:05
  • I can not find any offical statement or post by an Google employee
    – mate64
    Commented Apr 2, 2015 at 22:07
  • SVG is an image format, it should work fine. But what does the GWT report say under "appearance > structured data"? I have found that sometimes it does not accept things the test tool says are OK.
    – dhaupin
    Commented Apr 3, 2015 at 14:08

1 Answer 1

4

I guess there is no reason to assume that Google wouldn’t handle SVGs as value of the image property:

  1. Schema.org’s image property expects an image URL (or an ImageObject).

  2. SVG is an image format (image/svg+xml).

  3. Google does index SVG images.

(Of course, we can never be sure; and things might change always.)

Generally, the syntax shouldn’t matter, as long as it is one of the syntaxes Google supports (currently: Microdata, JSON-LD, and RDFa), and your case is not one of the rare ones where only specific syntaxes are supported.
It would not make sense if Google would, say, support SVG within RDFa but not within JSON-LD.

That said, in the documentation of some (but not all) Rich Snippets, Google recommends the use of ".jpg, .png, or. gif formats". But that that really seems to be a recommendation, not a requirement.

2
  • Google's documentation has been updated to say "The image must be in .jpg, .png, or. gif format." source
    – thirdender
    Commented Aug 15, 2019 at 20:06
  • 2
    This has changed (again): Following the link @thirdender you can find "The image file format must be supported by Google Images" with a link to developers.google.com/search/docs/advanced/guidelines/…
    – LarS
    Commented Jun 29, 2021 at 22:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.