Any format. Any size. No wait.

Test File Generator for Any Format and Exact Size

Set the size, pick a format, and the file appears. It is assembled on your machine, so nothing is uploaded and nothing is downloaded from a server.

10,485,760bytes
10 MB · PDF · minimum 772 bytes
10 MB
Exact size
Built locally · never uploaded
PDF
sample-10mb.pdf
Download

Free file tools.

ByteRivet is also a full toolkit for files you already have — merge, convert and edit PDFs and images, free and without installing anything.

PDF Tools

Merge, split, organize and watermark PDF files.

Explore PDF tools →

Image Tools

Compress, convert, crop, resize and rotate images.

Explore image tools →

The file never travels.

Other generators keep a folder of pre-made files and hand you a link. That means fixed sizes and a wait proportional to your connection. Here the bytes are written where you already are.

  • Runs locally
  • No upload
  • No account
  • Works offline
Your deviceLocal processingYour file

Where the bytes go.

Padding is never appended junk. Each format has a region its own specification reserves for extra data, and that is the only place it is written.

FormatPadding regionOpens inMinimum
BINThe entire file is pseudo-random printable byteshex editors like HxD or xxd, and Python's open() in binary mode1 B
ZIPA payload file stored inside the archive without compressionExplorer, Finder, 7-Zip and unzip368 B
CSVAdditional rows, with the final row padded to land on the exact byteExcel, Sheets, pandas and Python's csv module80 B
JSONA trailing string field, so the document still parsesjq, browser devtools, Python's json module and Node's JSON.parse60 B
PDFAn unreferenced content stream, the same mechanism PDF writers use for incremental updatesAcrobat, Preview, Chrome, pdf.js and pypdf772 B
DOCXA binary part declared in [Content_Types].xml, which Word ignoresMicrosoft Word, LibreOffice, Google Docs and python-docx1,496 B
View all format specifications →

Questions.

What is ByteRivet?

A browser-based toolkit for files: an exact-size test file generator, plus PDF tools, image tools and format converters. Every tool is free, works without an account, and most of them never send your file anywhere.

Which tools run entirely in my browser?

The test file generator, all PDF tools (merge, split, organize, watermark) and all image tools (compress, convert, crop, resize, rotate) run locally using Web Workers. Nothing is uploaded, and they keep working with your network switched off.

Which operations need a server?

Only Office-to-PDF and PDF-to-Office conversion — they need a real document engine that can't run in a browser tab. The file is sent over HTTPS, converted, and deleted immediately afterward; the result is deleted after 15 minutes or as soon as you download it, whichever comes first.

Is ByteRivet free?

Yes — every tool, no account, no subscription, no watermarked or limited output.

Which formats are supported?

The test file generator covers 19 formats (PDF, PNG, JPG, WebP, ZIP, DOCX, XLSX, CSV, JSON, XML, HTML, SQL, MD, SVG, WAV, MP3, MP4, BIN and more). The tools handle PDF, common image formats, and Office documents — see the Formats and Tools menus for the full, current list.

Does ByteRivet work on mobile?

Yes, every tool is responsive and works in a mobile browser. Browser-based tools are limited by your device's available memory, so very large files can be slower on a phone than a desktop.

Does 1 MB mean 1,000,000 bytes?

It depends who you ask. 1,000,000 bytes is the decimal MB; 1,048,576 bytes is technically 1 MiB, though it is commonly still called "1 MB". ByteRivet currently uses the binary (MiB) convention. Some upload validators use decimal units, others use binary — the readout always shows the exact byte count, so there is never any ambiguity about what you are getting.

Can I use the generated files in an automated test suite?

Yes. Generate once and commit the file as a fixture, or run the same generators in Node for a reproducible pipeline.

Blog

Everything we measure, we write down.

We publish plain, technical, and practical content about file formats, upload limits, and conversion technologies.

View all posts →