# Random File Generator

> Generate test files with random data in customizable sizes (up to 2 GB).

- Open in browser: https://pockettoolbox.org/en/random-file
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Generates test files with random content in customizable sizes.

Select the desired file size (up to 2 GB). The file is generated block by block using the Web Cryptography API and can be downloaded immediately.

Fills byte buffers in chunks using the Web Crypto API. Accumulates chunks in memory into a binary blob to generate test files of any size.

---
PocketToolbox (https://pockettoolbox.org/en)
