Skip to content
>_ TrueFileSize.com

About TrueFileSize

TrueFileSize exists because the rest of the sample-file web is full of lies. A file named sample-10mb.pdf should really be 10MB. On most sites, it’s 47KB. Then your upload-limit test passes when it shouldn’t, and you ship a bug.

We host 279+ sample files across 25+ formats, every one of them sized to truly match its filename. They’re free, public-domain, and served from a CDN you can hotlink directly into your test suite, your CI fixtures, or your demo environment.

25+

File formats

200+

Sample files

10GB

Largest test file

0

Signup forms

What we stand for

Sizes that match the filename

If a file is named sample-10mb.pdf, it really is ~10MB on disk. We measure every file post-generation, regenerate when it drifts, and reject anything that drifts more than a few percent.

Real, valid files — never fakes

Every sample is a complete, well-formed file you can open in any reader. PDFs render. MP4s play. Archives extract. JSON validates. No corrupt placeholders.

No signup, no rate limits, no spam

Click and download. No email gate, no pop-up, no quota. Hotlinking from your own apps is welcome — that's why the URLs are stable.

Open by default

Every file is licensed under CC0 / public domain. Use them in production, in tests, in tutorials, in commercial work. No attribution required.

How we generate every file

Each format has its own generator script that produces a real, valid file at the target size. PDFs are produced with pdf-lib; DOCX/XLSX/PPTX with officegen; MP4 / MOV / WebM with ffmpeg using H.264 / VP9 codecs; MP3/WAV/OGG with audio synthesis and bitrate calibration; archives with native compressors. After generation, every file is measured to the byte and re-encoded if it drifts more than 3% from the target.

Files are uploaded to a CDN with content-addressed paths so the links you embed never break.

The team

The people behind every guide and sample file on this site.

Use TrueFileSize in your tests