Skip to content
>_ TrueFileSize.com
Local browser generation. Nothing is uploaded.

Generate Sample Test Files in Your Browser

Create lightweight dummy files up to 10MB for upload forms, parsers, API tests, demos, and QA workflows. Supported formats: TXT, CSV, JSON, XML, HTML, LOG, BIN, SVG, Markdown, YAML, TOML.

Instant download

Generate one file and download it immediately.

No server storage

Files are created in your browser and never touch our backend.

Simple formats only

Browser-safe text, data, SVG, and binary test files.

Size

Filename preview

sample-100kb.txt

Target size: 100 KB

What can you generate locally?

FormatBest forWhy it is safe in FE
TXT, LOG, MarkdownText upload and parser testsPlain text Blob
CSV, JSON, XMLData import and API fixturesControlled templates
HTML, SVGMarkup parser and preview testsNo user script execution
BINRaw byte and upload size testsUint8Array bytes only
YAML, TOMLConfig parser testsPlain text templates

Frequently Asked Questions

Are generated files uploaded to TrueFileSize?

No. Files are generated locally in your browser with native Web APIs. Nothing is uploaded, stored, or sent to TrueFileSize.

Which formats can be generated locally?

This tool supports lightweight formats that browsers can create safely: TXT, CSV, JSON, XML, HTML, LOG, BIN, SVG, Markdown, YAML, and TOML.

Why not PDF, MP4, DOCX, XLSX, or ZIP?

Those formats need heavier encoders or libraries, increase client bundle size, and are easier to generate incorrectly. TrueFileSize keeps those as prebuilt sample files served from the CDN.

What is the maximum file size?

The maximum generated file size is 10MB per action. Larger test files should use the existing CDN-hosted Download Tests collection.

Need large CDN-hosted files instead?

Browser generation is intentionally capped at 10MB. For 100MB, 1GB, and 10GB files, use the prebuilt files served from the TrueFileSize CDN.

Open Download Tests