Why can a small WebP file still fail to convert?

A tiny download can turn into a much bigger picture once your browser opens it. Here's why pixel dimensions matter more than file size, and what to do when a conversion fails.

Why can a small WebP turn into a big picture?

Think of a WebP as a folded map. The file you download is the map folded up small, but to resize or convert it, your browser has to unfold the whole picture first. From then on, what counts is how big the picture is, not how many bytes it took to download.

That size is measured in pixels, the tiny colored dots that make up a picture. Width and height count the dots along each edge, and multiplying them gives the total.

Here's a real example: a wide NASA panorama of a crater on Mars, as the WebP file you'd download and as one open copy in memory.

A wide NASA panorama of a crater, 2,224 by 603 pixels, above two bars on one scale: a sliver for the 59.7 KB WebP file and a full-width bar for the 5.4 MB open copy.

One panorama, packed and open

  1. The picture

    2,224 pixels wide and 603 tall, about 1.3 million in all.

  2. The file

    59.7 KB: what you download.

  3. One open copy

    5.4 MB: 4 bytes for every pixel once it's unfolded.

Same picture, same scale: the open copy is about 90 times the size of the file. How we reviewed · Photo: NASA/JPL-Caltech/Cornell/ASU, Public domain, U.S. federal source, via NASA Photojournal.

And that's a single copy, before anything new has been written.

What stops a WebP from converting? Usually memory

When you turn a WebP into a JPG, PNG or anything else, the limit you can hit is memory. Your browser has to hold the open picture while it works, and it shares memory with everything else on your device. Phones have less to give than computers.

FluffyBench's converters warn you when a picture this big is added. Here's a WebP of about half a megabyte, 16,000 × 4,338 pixels, added to FluffyBench's JPG converter.

  1. FluffyBench's JPG converter with one WebP added: the summary reads 1 image, 504.8 KB, and a warning below says the active image may need roughly 927 MiB of browser working memory.
    FluffyBench's JPG converter with one WebP added: the summary reads 1 image, 504.8 KB, and a warning below says the active image may need roughly 927 MiB of browser working memory.
    Step 1. A WebP of about half a megabyte, 16,000 × 4,338 pixels, added to FluffyBench's JPG converter. The warning appears as soon as the file is added, before anything is converted.
    1. The file you added: about half a megabyte.
    2. The memory it may need once it's open.

The warning doesn't stop the job; it tells you this picture may be too much for your browser. If the conversion fails or the tab struggles, make the picture smaller in pixels as you convert, with the Size setting in FluffyBench's converters. For more on memory and huge pictures, see our guide to where a browser spends time on a huge photo.

Saving as WebP? Two more limits apply

These two limits only matter when WebP is the format you're saving to. A WebP you already have is under the side limit; it bites when you save a bigger PNG, JPEG or TIFF as WebP.

Two pictures can hold the same number of pixels and still get different answers. Here are two shapes of about 200 million pixels each, drawn to scale against WebP's side limit.

Two shapes drawn to scale with about 200 million pixels each: a 14,142-pixel square that sits inside WebP's 16,383-pixel side limit, and a 20,000 by 10,000 rectangle whose width runs past it.

Same pixel count, different shapes

  1. WebP's side limit

    No side of a WebP can be longer than 16,383 pixels. That rule belongs to the format, so it applies in every app.

  2. Fits

    14,142 pixels on each side, under the limit.

  3. Too wide

    20,000 pixels across: too wide to save as WebP, even with the same total.

When you save as WebP, the square fits under the side limit. The wide picture doesn't, whatever its total.

Longest side. WebP can't store a side longer than 16,383 pixels, as the WebP FAQ explains. A long, narrow picture can hit that limit while a square one with more pixels fits.

Total pixels for lossless. FluffyBench caps lossless WebP, the setting that keeps every pixel exactly, at 128 million pixels on a computer and 96 million on a phone. Our lossless WebP guide explains what that setting changes.

Here's what that looks like: a panorama of 22,240 × 6,030 pixels, about 134 million, with Compression set to Lossless in FluffyBench's WebP converter.

  1. A failed result for the 22,240 × 6,030 panorama with Lossless chosen: the message says it is too large to save as lossless WebP, gives its size in megapixels and the limit, and suggests another format or resizing first.
    A failed result for the 22,240 × 6,030 panorama with Lossless chosen: the message says it is too large to save as lossless WebP, gives its size in megapixels and the limit, and suggests another format or resizing first.
    Step 1. Lossless WebP on a picture past the cap: the job stops with this message instead of a file.
    1. The picture's size, the limit, and what to do instead.
    2. Details shows the whole message.

Big doesn't mean doomed, though. An 8.6 MB JPEG of 12,240 × 16,320 pixels, about 200 million pixels with its long side just under the limit, became a WebP of about 1.8 MB in both Chrome and Firefox on a desktop computer.

Doing it in FluffyBench: resize the picture as you convert

Whichever limit you hit, the fix is to make the picture smaller in pixels as you convert. For a WebP save, bring the longest side to 16,383 pixels or less. Turning a WebP into something else? FluffyBench's JPG converter and PNG converter have the same Size setting. The converter still opens the original first, so this works when your browser can open the picture but can't finish the job at full size.

Here's the whole job in FluffyBench's WebP converter, bringing that 22,240-pixel-wide panorama down to 8,000 pixels wide.

  1. Choose images in FluffyBench's WebP converter.
    Choose images in FluffyBench's WebP converter.
    Step 1. Open FluffyBench's WebP converter and add your picture with Choose images.
    1. Choose images adds your picture.
  2. The Settings button in the WebP converter's header, showing WebP and 92% quality.
    The Settings button in the WebP converter's header, showing WebP and 92% quality.
    Step 2. Settings holds the output options. Its label sums up the current choices.
    1. Tap Settings to open the options, and again to close them.
  3. Compression set to Lossy, with Lossless beside it.
    Compression set to Lossy, with Lossless beside it.
    Step 3. Compression: Lossy makes much smaller files. Lossless keeps every pixel but has a pixel cap of its own.
    1. Leave Lossy on for a very large picture.
  4. Size set to Dimensions, Width 8000, Height on Auto, Keep aspect ratio checked.
    Size set to Dimensions, Width 8000, Height on Auto, Keep aspect ratio checked.
    Step 4. Size: choose Dimensions and type the longest side, at most 16,383. Keep aspect ratio works out the other side.
    1. Dimensions opens Width and Height.
    2. Type the longest side: Width for a wide picture, Height for a tall one.
    3. Keep aspect ratio works out the other side.
  5. The Convert 1 to WebP button.
    The Convert 1 to WebP button.
    Step 5. Close Settings and convert. The picture is resized as it's saved.
    1. Convert starts the job.

Got a whole folder to shrink? FluffyBench's Image Space Saver resizes and converts many photos in one run. One thing works differently there: when a file would come out as a WebP with a side longer than 16,383 pixels, Image Space Saver saves it as PNG instead and adds a note saying so.

Need to resize a whole folder before saving WebP?

Check the saved file's size and dimensions

A finished job means a file was saved. Before you use it, make sure it's the file you need, with the width, height and size you expected.

When the job finishes, FluffyBench's WebP converter shows the original and the new file together in its result card.

  1. A finished result: the original panorama at 22,240 × 6,030 and 1.2 MB, the new WebP at 8,000 × 2,169 and 444 KB, and the Download button.
    A finished result: the original panorama at 22,240 × 6,030 and 1.2 MB, the new WebP at 8,000 × 2,169 and 444 KB, and the Download button.
    Step 1. The result card lists your original first and the new file below it. Download saves the new file, with a name ending in .webp. Keep your original until this one checks out.
    1. Your original's width × height and size.
    2. The new WebP: check its width × height and size.
    3. Download saves the WebP.
Search FluffyBench