Generate Custom Size Sample Test Files in Your Browser
Create dummy files up to 1GB for upload forms, parsers, API tests, demos, and QA workflows. Pick a preset or custom file size. 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.
Filename preview
sample-100kb.txt
Target size: 100 KB
What can you generate locally?
| Format | Best for | Why it is safe in FE |
|---|---|---|
| TXT, LOG, Markdown | Text upload and parser tests | Plain text Blob |
| CSV, JSON, XML | Data import and API fixtures | Controlled templates |
| HTML, SVG | Markup parser and preview tests | No user script execution |
| BIN | Raw byte and upload size tests | Uint8Array bytes only |
| YAML, TOML | Config parser tests | Plain text templates |
Guides for using generated files
Generate Sample Files in Your Browser
How local file generation works with Blob, TextEncoder, Uint8Array, and object URLs.
Read guideSafe Dummy File Generator with No Upload
Why local generation is useful when you need a private dummy file with a custom file size.
Read guideTest Upload Forms with Generated Files
A practical workflow for testing upload forms, file type validation, and size boundaries.
Read guideFrequently Asked Questions
Are generated files uploaded to TrueFileSize?
Is my generated file private?
Which formats can be generated locally?
Can I choose a custom file size?
How do developers and QA teams use this tool?
How can regular users use it?
Why not PDF, MP4, DOCX, XLSX, or ZIP?
Does this increase the website bundle size?
Which browsers are supported?
What is the maximum file size?
When should I use CDN-hosted download tests instead?
Need large CDN-hosted files instead?
Browser generation can create files up to 1GB, but large files use browser memory before download. For CDN-hosted files, bandwidth tests, or 10GB samples, use the prebuilt files served from the TrueFileSize CDN.
Open Download Tests