Data format
AVRO Sample Files
Avro (.avro) files store schema-aware binary records commonly used in event streams and data pipelines. Use sample Avro files to validate schema evolution, nullable fields, and record-batch ingestion.
3 files
All to 50KB
SHA256 verified
Manifest included
Quick facts
Files first
AVRO Sample Files — Download
Use cases
AVRO Testing Workflows
Schema Evolution and Record Review
Open Format AVRONullable Fields and Event Validation
Open Format AVROCompare and decide
AVRO Format Comparisons
FAQ and reference
AVRO 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 avro_nullable_profile_sample.avro
curl -L -o avro_nullable_profile_sample.avro \
https://samplefile.com/samples/download/data/avro/avro_nullable_profile_sample.avro/
# Or fetch a random AVRO file
curl -s "https://samplefile.com/samples/api/random?format=avro" | jq -r '.download_url'
# Download avro_nullable_profile_sample.avro
wget -O avro_nullable_profile_sample.avro \
https://samplefile.com/samples/download/data/avro/avro_nullable_profile_sample.avro/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/data/avro/avro_nullable_profile_sample.avro/"
resp = requests.get(url)
with open("avro_nullable_profile_sample.avro", "wb") as f:
f.write(resp.content)
# Or fetch a random AVRO file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=avro").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/data/avro/avro_nullable_profile_sample.avro/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("avro_nullable_profile_sample.avro"));
});
// Or fetch a random AVRO via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=avro").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random AVRO file (JSON response)
GET https://samplefile.com/samples/api/random?format=avro
# All AVRO files
GET https://samplefile.com/samples/api/files?format=avro
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/data/avro/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Validation Methodology
- Validate extension and MIME detection before processing.
- Benchmark performance with small and larger files.
- Test malformed-input handling and error messaging.
Fixture Matrix
Use the curated AVRO matrix to choose the right clean, edge-case, and broken fixtures for this format.
Open Matrix
Workflow Packs