1 MB WebP sample file

A WebP file of exactly 1,048,576 bytes. It is a valid WebP image file, generated for this site and checked with an independent parser.

Download

sample-webp-1mb.webp

1 MB1,048,576 bytes

Download 1 MB WebP

Direct download. No sign-up and no waiting.

Type
image/webp
SHA-256
af3d0a3d3af8d739fe064af2fd28ff7d382019b9234092633e89bdface5ea154
Direct URL
https://sampletestfiles.com/downloads/webp/sample-webp-1mb.webp

What is in this file

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

Dimensions682 × 512 px
EncodingLossless (VP8L)
ContainerExtended (VP8X) with XMP metadata
TransparencyNo
AnimatedNo

First bytes of the file

The first 64 bytes of sample-webp-1mb.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 0f 00 57 45 42 50 56 50 38 58  |RIFF....WEBPVP8X|
00000010  0a 00 00 00 04 00 00 00 a9 02 00 ff 01 00 56 50  |..............VP|
00000020  38 4c 7b fc 0f 00 2f a9 c2 7f 00 80 40 00 00 00  |8L{.../.....@...|
00000030  e2 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  |................|

Preview

Displays the file in your browser.

Where 1 MB matters

A 1,048,576-byte file: exactly the default upload limit of nginx, Spring Boot and Next.js. These are the default limits a file of this size is useful for testing:

SystemLimitNote
nginx1 MB by default (client_max_body_size)A multipart upload of this file exceeds the limit by the size of the form boundaries.
Spring Boot multipart1 MB per file by default (max-file-size)A file of exactly 1 MB is at the limit.
Next.js API routes and Server Actions1 MB by defaultLarger bodies need the size limit raised in configuration.
Cloud Firestore documents1 MiB (1,048,576 bytes)The same number of bytes as this file.
Apache Kafka messagesAbout 1 MB by defaultBrokers reject larger records unless message.max.bytes is raised.

All 1 MB sample files

Use this file for

  • Download tests on mobile connections
  • Checking conversion to and from JPEG and PNG
  • Testing image CDNs and optimisation

Testing notes for WebP

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

WebP format reference

Technical details

File namesample-webp-1mb.webp
FormatWebP (WebP image)
Extension.webp
MIME typeimage/webp
Size1,048,576 bytes (1 MB)
KindBinary
Signature52 49 46 46 ?? ?? ?? ?? 57 45 42 50
SHA-256af3d0a3d3af8d739fe064af2fd28ff7d382019b9234092633e89bdface5ea154
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-webp-1mb.webp 'https://sampletestfiles.com/downloads/webp/sample-webp-1mb.webp'
sha256sum sample-webp-1mb.webp     # Linux
shasum -a 256 sample-webp-1mb.webp # macOS

On Windows, run Get-FileHash sample-webp-1mb.webp -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

Related files

Questions about this file

Is this file exactly 1 MB?
Yes. It is 1,048,576 bytes, which is 1 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 MB WebP file?
A 682 × 512 lossless test card coded with literal pixels only, so the size is set by the pixel count. 862 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.