Any format. Any size. No wait.

Generate a test file at the size you need

Choose a format and a byte size, then generate and download a test file in your browser. Use previews and format notes to check what each fixture can test.

10,485,760 bytes
10 MiB · PDF · 772 B
Exact size

1 MB = 1,000,000 B · 1 MiB = 1,048,576 B

Advanced: test an upload limit

Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.

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
  • Exact byte sizes
Your device→Local processing→Your file

Where the bytes go.

Exact size comes from format-specific structures, comments, extra parts or trailing data. Reader support and re-saving behavior vary; use these fixtures to test your actual application.

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, PDF editing tools and image tools process your files locally using Web Workers. Your files are not uploaded. The page and required tool modules must load before processing can start.

Which operations use a server?

Office-to-PDF and PDF-to-Office use our server conversion engine. Files are sent over HTTPS; source deletion is attempted after processing, and results are deleted after download or by queue cleanup after their 15-minute lifetime. See Security for job metadata retention.

Is ByteRivet free?

Yes. No account or subscription is required. The test generator accepts up to 2 GiB; device memory and tool-specific limits still apply.

Which formats are supported?

The test file generator covers 22 formats, including PDF, PNG, JPG, WebP, ZIP, DOCX, XLSX, CSV, JSON, XML, HTML, SQL, MD, SVG, WAV, MP3, MP4, BIN, EXE, BAT, ISO and TXT. Format pages explain what each fixture contains and what it can test.

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?

Yes: 1 MB is 1,000,000 bytes, while 1 MiB is 1,048,576 bytes. Choose MB or MiB in the unit selector. Historical size URLs such as /10mb/ keep their original binary byte count; the readout always shows the exact number.

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

Yes. Generate and save a fixture for your suite, or automate the browser with Playwright. Image generation uses browser canvas APIs, so these generators cannot all run directly in plain Node.js.

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 →