About Dummy File Generator
Testing an upload form, a size limit, a backup job or a slow connection needs files of a known size. This tool makes one to the byte: choose the size in bytes, KB, KiB, MB, MiB, GB or GiB, and what to fill it with. Zeros compress to almost nothing, random bytes do not compress at all, and repeated text gives a readable file.
In every browser a file of up to 1 GiB is built in memory and then downloaded. Where the browser can write to disk directly (desktop Chrome and Edge), files of up to 256 GiB are written in pieces as they are made, so they never have to fit in memory.
How it works
- The size you enter is converted to an exact byte count: KB, MB and GB count in thousands, KiB, MiB and GiB in multiples of 1,024.
- The content is made in 1 MiB pieces. Random bytes come from the browser’s cryptographic generator; repeated text is written as UTF-8 and continues across pieces without a seam.
- With Create file the pieces are gathered into one file in memory, which you then download. With Save straight to disk each piece is written to the file you chose and released.
Questions
What is the difference between MB and MiB?
MB is 1,000,000 bytes and MiB is 1,048,576 bytes. Storage makers and most web services use MB; Windows shows MiB but calls it MB. The exact byte count is shown under the options, so you can check which one your limit means.
How large a file can I make?
Up to 1 GiB in any browser, because the file is held in memory before it is saved; on a phone even that much may fail. In desktop Chrome and Edge, Save straight to disk writes up to 256 GiB without holding it in memory.
Why would I choose random bytes over zeros?
Zeros compress almost completely, so a transfer or backup that compresses data will move far fewer bytes than the file’s size. Random bytes cannot be compressed, so they test the real throughput and storage use.
Is the random content safe to use as a key or password?
It comes from the browser’s cryptographic generator, but this tool is meant for filler. Use the password or key generators for secrets.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.