Home › File tools › File Size Generator
🔧

File Size Generator

Create a test file of an exact size in KB, MB or GB with custom content

文件大小
单位
填充模式
文件名
实际大小
1.00 MB (1048576 字节)
提示:文件在浏览器内存中生成,建议单次生成不超过 500MB,过大可能导致浏览器卡顿或崩溃。随机数据使用加密级随机源;自定义文本模式将按输入内容循环重复填充。

About this tool

The generator writes a test file to an exact size:

  • Exact size: bytes, KB, MB or GB, down to the byte
  • Fill modes: random data, zero bytes or repeating custom text
  • Instant download: the file is built and saved locally with no server involved
  • Large files: Blob streaming keeps memory in check up to a few hundred MB
  • Custom name: choose the filename and extension

When to use it

  • Test upload and download bandwidth
  • Fill or test storage capacity
  • Check how a filesystem handles large files
  • Produce a file of a required size for software testing