Download a sample PDF of 100 KB, 1 MB, 5 MB or 10 MB, exact to the byte
Processed in your browser. Nothing is uploaded. Updated on 24 Oct 2026.Four sample PDFs at the sizes upload limits use most: 100 KB, 1 MB, 5 MB and 10 MB, each exact to the byte (1 MB here is 1,048,576 bytes). Nothing is fetched from a server: the PDF is written on your device in under a second, so it is always available and never someone else's document. Each file is one page saying it is a sample, padded to size, which makes it right for testing uploads and wrong for testing text extraction.
Tap 100 KB, 1 MB, 5 MB or 10 MB.
Press Make file: the PDF is made on your device and saved at once.
Upload it wherever you need a known file size, and check the size the site reports.
The Dummy File Generator makes a file of exactly the size you ask for, so you can check what an upload form, an email server or an API does at its limit. Ask for 5 MB and you get 5,242,880 bytes, not "about 5 MB". KB, MB and GB here count in 1,024s, as Windows and most upload limits do; under More options you can switch to 1,000s.
| Type | What is inside | Smallest size |
|---|---|---|
| TXT | One readable line, repeated | 1 byte |
| BIN | Zeros, or random bytes | 1 byte |
| CSV | A header and numbered rows of Test Users at example.com | 65 bytes |
| One A4 page saying it is a dummy; padding in a stream no page draws | 850 bytes | |
| JPG | A 16 x 16 grey image; padding in comment segments | 163 bytes |
| PNG | A 16 x 16 grey image; padding in a text chunk | 360 bytes |
| ZIP | One uncompressed entry, dummy.txt | 116 bytes |
The file is written to disk while it is made, in 8 MB pieces. On Chrome and Edge on a computer you choose where to save it and the pieces go straight there. Elsewhere they go to the browser's private storage on disk, then download from it; only a browser with neither keeps the pieces in memory, and the page says so before a large file. Progress is shown and Cancel stops at once.
The rest of the article, and all 6 questions about Dummy File Generator, are on the Dummy File Generator page.
Choose a type such as PDF or TXT, tap a common size like 1 MB or type any size in bytes, KB, MB or GB, and press Make file. The file is written on your device and is exactly the size asked for, down to the byte, up to 1 GB.
By default 1 MB is 1,048,576 bytes and 1 KB is 1,024 bytes, the way Windows and most upload limits count. Under More options you can switch to decimal units, where 1 MB is 1,000,000 bytes, as macOS and disk makers count.
Yes. Each one is a valid file of its type: the PDF opens as one A4 page saying it is a dummy, and the JPG and PNG show a small 16 x 16 grey square. The extra size is padding stored where readers skip it, so the files open quickly.
A TXT or BIN file can be 1 byte. A ZIP needs 116 bytes, a JPG 163, a PNG 360 and a PDF 850, because each format has a fixed structure before any padding. A CSV needs 65 bytes for its header and one row. Smaller sizes are refused with the minimum stated.
Still stuck? Ask about Dummy File Generator and anybody who knows can answer. No account needed.
Same job, other tools: Sample Image Download – Sample JPG, PNG or WebP files at fixed sizes, with the exact byte count, for upload tests · Compress Image to 1 MB – Trim a high resolution photo to just under 1 MB · HEIC to PDF – Convert iPhone HEIC photos straight into a PDF · JPG to PDF – Convert JPG photos into a single PDF, in the order you choose.
On the related tools: Flip a Coin 100 Times – Flip 100 coins at once and see the heads count, the streaks and the chance of each.
In the collection Test Data Generators.