20 MB WebP sample

A WebP file of exactly 20,971,520 bytes. It is a valid WebP image file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 20 MB sample, test or dummy WebP file.

Download

sample-webp-20mb.webp

20 MB20,971,520 bytes

Download 20 MB WebP

Created in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.

Type
image/webp
SHA-256
494ad34c06fe62ebfbb973ce2795853b8e29c5eb8c1e4c0f2da47e7f19e94afc
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

A 3074 × 2274 lossless test card coded with literal pixels only, so the size is set by the pixel count. 524 bytes of XMP metadata, most of it standard whitespace padding, bring the file to the exact size.

Dimensions3,074 × 2,274 px
EncodingLossless (VP8L)
ContainerExtended (VP8X) with XMP metadata
TransparencyNo
AnimatedNo

First bytes of the file

The first 64 bytes of sample-webp-20mb.webp as a hex dump: offset, bytes, then the same bytes as text. The WebP signature is 52 49 46 46 ?? ?? ?? ?? 57 45 42 50.

00000000  52 49 46 46 f8 ff 3f 01  57 45 42 50 56 50 38 58 |RIFF..?.WEBPVP8X|
00000010  0a 00 00 00 04 00 00 00  01 0c 00 e1 08 00 56 50 |..............VP|
00000020  38 4c c6 fd 3f 01 2f 01  4c 38 02 80 40 00 00 00 |8L..?./.L8..@...|
00000030  e2 ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff |................|

Preview

Creates the file in your browser and shows it here. Nothing large is downloaded from our server.

Where 20 MB matters

A 20,971,520-byte file: right at the default attachment limit of Outlook, and just under the 25 MB ceilings of Gmail and GitHub web uploads. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Microsoft Outlook20 MB of attachments by default for internet mail accountsThis file is right at the limit; add a second attachment and it is exceeded.
Gmail25 MB per messageUnder the limit, although email encoding adds about a third in transit.
GitHub web uploads25 MiB per file added through the browserAccepted. Pushing with Git allows larger files.
Cloudflare Pages assets25 MiB per fileThe largest round size that can be served as a static asset.
Amazon API Gateway10 MB payloadRejected; the upload has to go directly to object storage.
ASP.NET Core (Kestrel)About 28.6 MB request body by defaultAccepted with room for the multipart overhead.

All 20 MB sample files

Use this file for

  • Testing image resizing and memory use
  • Checking conversion to and from JPEG and PNG
  • Testing image CDNs and optimisation

Testing notes for WebP

  • Allow-lists written years ago often contain only JPEG, PNG and GIF, so WebP uploads fail on otherwise working forms.
  • Sniffers that read only the first four bytes see RIFF and may confuse WebP with WAV or AVI.

WebP format reference

Technical details

File namesample-webp-20mb.webp
FormatWebP (WebP image)
Extension.webp
MIME typeimage/webp
Size20,971,520 bytes (20 MB)
KindBinary
Signature52 49 46 46 ?? ?? ?? ?? 57 45 42 50
SHA-256494ad34c06fe62ebfbb973ce2795853b8e29c5eb8c1e4c0f2da47e7f19e94afc
Created2026-10-23
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-webp-20mb.webp     # Linux
shasum -a 256 sample-webp-20mb.webp # macOS

On Windows, run Get-FileHash sample-webp-20mb.webp -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 20 MB?
Yes. It is 20,971,520 bytes, which is 20 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 20 MB WebP file?
A 3074 × 2274 lossless test card coded with literal pixels only, so the size is set by the pixel count. 524 bytes of XMP metadata, most of it standard whitespace padding, bring the file to the exact size.
Are the sample WebP files lossy or lossless?
Lossless. They use the VP8L bitstream in an extended container with a small XMP metadata chunk.