Skip to content
>_ TrueFileSize.com
50+ formats · 200+ sample files · True sizes

Free sample files, true to size

Every sample-1mb.pdf really is 1MB. 50+ formats, instant download, no signup.

Instant download

No signup, no email gate

Real & valid files

Open in any app

Always free

No limits, no hidden fees

Trending

Most popular downloads

What developers grab the most across every format.

sample-1mb.pdf

1.00 MB

20 pages

Verified file details
Filename
sample-1mb.pdf
Exact size
1,051,915 bytes
Displayed size
1.00 MB
MIME type
application/pdf
Pages
20
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/pdf/sample-1mb.pdf
jpg previewJPG

sample-1920x1080.jpg

34.8 KB

1920×1080 · 1080p · sRGB

Verified file details
Filename
sample-1920x1080.jpg
Exact size
35,631 bytes
Displayed size
34.8 KB
MIME type
image/jpeg
Dimensions
1,920 x 1,080 px
Resolution
1080p
Color space
sRGB
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/jpg/sample-1920x1080.jpg

sample-10mb.mp4

10.00 MB

1920×1080 · 10s · 1080p · H.264

Verified file details
Filename
sample-10mb.mp4
Exact size
10,485,760 bytes
Displayed size
10.00 MB
MIME type
video/mp4
Dimensions
1,920 x 1,080 px
Resolution
1080p
Duration
10s
Codec
H.264
Frame rate
30 fps
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/mp4/sample-10mb.mp4

sample-1000-rows.csv

77.1 KB

1,000 rows

Verified file details
Filename
sample-1000-rows.csv
Exact size
78,929 bytes
Displayed size
77.1 KB
MIME type
text/csv
Rows
1,000
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/csv/sample-1000-rows.csv

sample-users.json

77.1 KB

500 rows

Verified file details
Filename
sample-users.json
Exact size
78,991 bytes
Displayed size
77.1 KB
MIME type
application/json
Rows
500
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/json/sample-users.json

sample-1mb.zip

1.05 MB
Verified file details
Filename
sample-1mb.zip
Exact size
1,102,644 bytes
Displayed size
1.05 MB
MIME type
application/zip
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/zip/sample-1mb.zip

Why TrueFileSize is different

Sample files that prove their size

Many sample-file sites use filenames like sample-10mb.pdf even when the real file is much smaller. TrueFileSize publishes valid files with measured byte sizes, so upload limits, parsers, CI checks, and download tests behave like production.

Measured bytes

Each file card exposes the exact byte count, MIME type, and stable download URL.

Browse sizes

Valid formats

Files are generated as real PDFs, images, videos, archives, data files, and documents.

Read about us

Custom tests

Generate local TXT, CSV, JSON, XML, SVG, and BIN files up to 1GB without uploading anything.

Open generator

Browse by format

Pick your file type — download in one click.

Browse by size

Pick an exact size, or generate a custom-size file locally.

View all sizes →

Browse by use case

Find the right files for what you’re building.

Latest from the blog

Guides and how-tos for testing with real sample files.

View all →
·8 min

Generate Sample Files in the Browser (No Upload Needed)

How to generate sample files locally with Blob, TextEncoder, Uint8Array, object URLs, and a custom file size up to 1GB. No upload or backend required.

Read post
·6 min

Safe Dummy File Generator with No Upload

Create private dummy files locally in your browser with a custom file size up to 1GB. No upload, no signup, and no server storage.

Read post
·7 min

Test Upload Forms with Generated Files

A practical workflow for testing upload forms with generated TXT, CSV, JSON, XML, BIN, and SVG files. Includes custom file size checks up to 1GB.

Read post
·9 min

PDF Parsing and Text Extraction — A Practical Guide

Extract text, metadata, and structure from PDF files with pdf.js and pdf-parse. Handle scanned PDFs with OCR. Sample PDFs from 1KB to 100MB for every test case.

Read post
·8 min

Testing Word and Excel Uploads in Production

Validating DOCX and XLSX uploads — size limits, macro detection, corrupted files, and viewer compatibility. Sample office files for every edge case.

Read post
·10 min

Image Optimization for Web Performance

Modern formats, responsive srcset, lazy loading, and CDN tricks. Cut LCP by 40% with proper image optimization. Sample JPG, PNG, and WebP files included.

Read post
·6 min

SVG vs PNG for Icons — Which Wins in 2025?

When to use SVG, when to use PNG for favicons and UI icons. Accessibility, animation, file size, and caching — with side-by-side samples you can copy.

Read post
·9 min

HLS vs MP4 for Video Streaming

Adaptive streaming with HLS vs progressive MP4 download. Which one to use, when, and how to test each approach. Sample videos for both formats.

Read post
·11 min

Chunked Video Upload with Resumable Transfers

Testing large video uploads with chunked, resumable transfers. tus protocol, multipart uploads, and progress tracking. Sample MP4 files up to 500MB.

Read post

Frequently Asked Questions

Are these sample files safe to download?
Yes. All files are generated with open-source libraries and contain only placeholder text, images, and formatting. No macros, scripts, or embedded executables. They are scanned and verified safe.
Can I use these files in commercial projects?
Yes. All sample files are free to use for any purpose — commercial, educational, or personal. No attribution required. The content is royalty-free placeholder data.
Do I need to sign up to download?
No. There is no signup, no email form, and no limits. Click any download button and the file comes directly from our CDN.
Are the file sizes accurate? Is sample-1mb.jpg actually 1MB?
Yes — that's the whole point of TrueFileSize. Every file size matches its filename to within a few bytes. A file named sample-1mb.jpg is really ~1MB, not 47KB like on most sample-file sites.
What formats and sizes are available?
50+ formats including PDF, DOCX, EPUB, Markdown, XLSX, JPG, PNG, AVIF, HEIC, WebP, MP4, MKV, MP3, FLAC, WAV, ZIP, TAR.GZ, JSON, YAML, TOML, SQLite, Parquet, TTF, WOFF2, and more. Sizes range from a few KB to 10GB for bandwidth/stress testing.
Can I hotlink these files from my app or tests?
Yes. All files are served from a public CDN with stable URLs. Copy the download URL from any file card and use it directly in your test suite, API fixtures, or demo environment.
Can I generate a custom size sample file in my browser?
Yes. Use the File Generator tool to create lightweight TXT, CSV, JSON, XML, SVG, BIN, and config files locally in your browser with a custom file size up to 1GB. Nothing is uploaded.