A valid one-page PDF padded to the exact size you choose, from 850 bytes to 1 GB
Processed in your browser. Nothing is uploaded. Updated on 24 Oct 2026.Make a PDF of exactly the size an upload form has to accept or refuse, from 850 bytes to 1 GB. The file is a valid PDF with one A4 page that says it is a dummy and gives its size; everything else is padding inside an uncompressed stream that no page draws, so it opens instantly in any reader. Use it to test a 2 MB limit, an email attachment cap or a document upload, with nothing private inside.
The page opens on PDF at 2 MB; tap another size or type one in KB or MB.
Check the size against the limit you are testing, for example 5 MB for a form that says "under 5 MB".
Press Make file and keep the PDF: it opens in any reader as one A4 page.
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.
Every file is a valid file of its type, padded to size. It is not a document, a photo or a dataset with meaning.
| 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 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.
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.
A video padded to size would not play as a video, so offering one would make an upload test pass for the wrong reason. To test a video upload, record a short clip with your phone and trim or join it to the size you need with the video tools on this site.
Still stuck? Ask about Dummy File Generator and anybody who knows can answer. No account needed.
Same job, other tools: Blank Image Generator – Download a plain image in one solid colour, or transparent, at any width and height · Sample Image Download – Sample JPG, PNG or WebP files at fixed sizes, with the exact byte count, for upload tests · Compress Image to 100 KB – Get any photo under 100 KB for forms and portals · 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.
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.