Image format
WebP Sample Files for Testing
WebP (.webp) is a modern image format offering both lossy and lossless compression, plus animation. It supports metadata chunks and alpha transparency. Use sample .webp files to test encoder/decoder fidelity, animation playback, and metadata parsing.
4 files
All to 50KB
SHA256 verified
Manifest included
Quick facts
Files first
WEBP Sample Files — Download
Starter file
DownloadUse cases
WEBP Testing Workflows
Compare and decide
WEBP Format Comparisons
PNG vs WebP
Open ComparisonFAQ and reference
WEBP File FAQ
Checksum Verification
Use checksums to confirm file integrity after download.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download webp_1000x600_sample_file_8KB.webp
curl -L -o webp_1000x600_sample_file_8KB.webp \
https://samplefile.com/samples/download/image/webp/webp_1000x600_sample_file_8KB.webp/
# Or fetch a random WEBP file
curl -s "https://samplefile.com/samples/api/random?format=webp" | jq -r '.download_url'
# Download webp_1000x600_sample_file_8KB.webp
wget -O webp_1000x600_sample_file_8KB.webp \
https://samplefile.com/samples/download/image/webp/webp_1000x600_sample_file_8KB.webp/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/image/webp/webp_1000x600_sample_file_8KB.webp/"
resp = requests.get(url)
with open("webp_1000x600_sample_file_8KB.webp", "wb") as f:
f.write(resp.content)
# Or fetch a random WEBP file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=webp").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/image/webp/webp_1000x600_sample_file_8KB.webp/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("webp_1000x600_sample_file_8KB.webp"));
});
// Or fetch a random WEBP via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=webp").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random WEBP file (JSON response)
GET https://samplefile.com/samples/api/random?format=webp
# All WEBP files
GET https://samplefile.com/samples/api/files?format=webp
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/image/webp/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Validation Methodology
- Validate MIME sniffing against extension and file signatures.
- Test transparency, color profile, and resize pipelines.
- Benchmark decode speed and memory use for larger dimensions.