Skip to content
Tinolia

Chrome saved a WebP and the form rejects it

By Tinolia

Published: Updated:

You never picked WebP. The server picked it, because Chrome said it accepts image/webp, and the download took its extension from the response. Convert that file to JPEG on Tinolia and the upload field stops arguing. Files are deleted automatically after 24 hours.

https://cdn.example.com/hero.jpg

A page URL ending in .jpg with the saved filename hero.webp.

Save ashero.webp

The address still reads .jpg. Chrome named the download after the response type.

The response format can differ from the URL

A URL ending in .jpg does not guarantee that the server returns JPEG. An image service can negotiate WebP from the browser's Accept header and return Content-Type: image/webp. Cloudflare Polish documents this behavior when its WebP option and other conditions apply.

The saved filename and response can therefore use WebP while the URL keeps its old suffix. The exact download name also depends on the server and browser. Check the actual file type instead of treating the URL as a format guarantee.

The same URL hands a different file to each browser

A server using content negotiation can return different formats for different requests. Trying another browser does not guarantee JPEG: its version and the server configuration matter. Use a converter when you need a definite output format.

This is why the usual tricks miss. Reloading, a hard refresh, opening the image in its own tab, or adding a query string to bust the cache all still go out with the same Accept header, so the same WebP comes back. The bytes you already downloaded are the ones you have to work with.

Confirm the file really is WebP

Windows' Type of file label can follow the extension, so it is not a reliable header check after renaming. Open the image in a compatible viewer or inspect it with a tool that identifies the data. Renaming WebP to JPG does not convert it.

On a phone the gallery previews it without complaint, which makes the upload failure feel random. It is not random: the gallery has a WebP decoder and the upload field has a list of extensions it was given years ago.

Convert to JPEG

WebP to JPG takes the file as it downloaded. If the image had transparency, pick a fill colour first, because JPEG has no transparency and something has to sit behind the logo.

  1. Drop the .webp. Up to 10 files, 20 MB each.
  2. Pick a fill if the image had transparency, then download JPEG, or a ZIP for several.
  3. If the form also names a cap, follow with Compress JPG or a 200 KB target.

The upload field will never mention WebP

The error you get is usually just invalid file type, with no list of what would have worked. Behind it is an allowlist written when WebP was a Google experiment. An Etsy listing photo, a benefits portal document upload, and an old HR attachment field all behave the same way and none of them will be updated because you asked.

So read the accepted formats on the form before you troubleshoot your browser. If JPG, JPEG, and PNG are the three entries, that is the answer, and no browser setting on your side changes it.

When PNG is the right target instead

Transparency that has to stay transparent goes through WebP to PNG. A logo grabbed off a site is often a WebP with an alpha channel: flattening it onto white looks correct on a white page and turns into a sticker in dark mode.

Interface screenshots with small text also survive better as PNG than as JPEG, where letter edges pick up a halo. Why that PNG then weighs so much is PNG too large.

The JPEG comes out bigger, and that is expected

The JPEG may be larger or smaller depending on dimensions and quality settings. Conversion to JPEG is a new lossy export, so compare small text and edges before using it. Keep the WebP source if you may need another output later.

Chrome saves AVIF the same way

Same negotiation, newer codec. The site answered with image/avif and the download landed as .avif. AVIF to JPG writes a standard JPEG, HDR flattens to 8-bit, and transparency needs a fill exactly as it does here.

AVIF on Windows covers the Store package if you would rather preview than convert. And if you are gathering images for a site of your own, keep them modern: JPG to WebP and PNG to WebP go the other direction.

Related guides: listing photo size.

Sources checked

  • Cloudflare: Polish

    A server-side example of WebP delivery, not proof of how every website works.

  • Google: WebP

    WebP compression, transparency and format support.

These references support the topics listed above. Tinolia's limits and settings are checked against the tools. Service rules can change; follow the instructions for your account, app version or application.

Questions

Why did Chrome save a .webp when the URL said .jpg?

The URL is only a path. The bytes are whatever the server chose to return, and Chrome had already advertised image/webp in its Accept header before the response came back.

Can I just rename the file to .jpg?

Renaming a .webp to .jpg converts nothing. The file still begins with the RIFF and WEBP markers, and Word, Explorer, and portal uploaders read those bytes rather than the extension, so the rejection lands at exactly the same point.

Why is the JPEG larger than the WebP?

A JPEG needs more bytes to reach the look WebP got for less. JPEG is the format the form listed, and the extra weight is what that compatibility costs.

Can I stop Chrome from saving WebP?

There is no stable setting for it. The server decides from the Accept header Chrome sends, so converting the file you already downloaded is the short path.

Does saving the same image in Safari give me a JPEG?

It might, but changing browsers does not guarantee a different format. The server chooses its response. If you must deliver JPEG, convert the downloaded file and check the output.

What about an animated WebP?

An animated WebP is rejected here, because this page converts photos. Keep it as WebP, or use something built for animation.

Chrome saved an .avif. Same fix?

The same fix applies with AVIF to JPG. Start at AVIF on Windows if you also want the file to preview in Explorer.

More guides like this

All guides