Why Are WEBP Images Converted to PNG/JPEG in Both Shopify Admin and GraphQL API?

Hi everyone,

I’ve noticed that when I upload a WEBP image via Shopify Admin, the image is automatically converted and saved as either PNG or JPEG. The same behavior occurs when uploading WEBP images in the “Content - Files” section.

Additionally, when using the GraphQL API, I can successfully upload a WEBP image using staged uploads. However, when I later create a file from that image, Shopify automatically converts it to PNG or JPEG.

Could someone please explain what is happening with these images? Is this expected behavior, or is there a way to preserve the WEBP format?

Thank you for your help!

Can you share the store where this is happening?

Hi,

It appears this behavior can now be reproduced on any store. I’ve tested it on a new development store, and the result is the same—any WEBP image uploaded to a product or added via Files is automatically converted to JPEG or PNG. You can see it here: http://test-store-webp.myshopify.com

Let me know if you need any further details.

Thanks!

DMing you for more info.