Generate random files of any size and format on demand, including text and binary data formats.
Range: 1-1024 KB. Out-of-range values are auto-corrected
Set parameters to generate and download a random file

PYC Decompiler
Restore Python bytecode .pyc files into readable source code for easy code auditing and learning. Supports mainstream versions.

Code Compare
Professionally compare differences between two texts or code snippets. Highlights additions, deletions, and modifications to assist with code review, document merging, and version control.

JSON to TypeScript Converter
Automatically convert JSON data into TypeScript interfaces or type aliases for frontend data modeling and API integration.
When testing software performance or simulating real-world data, manually creating test files of a specific size is both time-consuming and inefficient. This tool uses a pseudo-random algorithm to instantly generate files that meet your requirements. It supports creating files ranging from 1KB to 1GB in size and processes four standard data formats: text, Hexadecimal, Base64, and raw binary.
Q: How long does it take to generate a 1GB file?
It usually completes within 10 seconds. The actual speed depends on your network bandwidth.
Q: What is the difference between a binary file and a text file?
A binary file contains a random sequence of bytes (which may include non-printable characters) and is suitable for storage testing and encryption scenarios. A text file contains only printable ASCII characters, making it ideal for text processing tests.
Generating extremely large files may be limited by your browser's memory. The generated random data is not suitable for security scenarios such as encryption. We recommend generating multiple smaller files instead of a single massive file.
For storage performance testing, we recommend using 1MB files in binary format for benchmarking. For development and debugging, you can use 10KB files in text format to simulate log data. Typical output examples: A 5KB text file contains approximately 5,000 random ASCII characters, while a 1MB binary file contains 1,048,576 random bytes.