Dummy file generator.

Create test and sample files — PDF, CSV, JSON, XML, YAML, and binaries. Set exact size targets or generate realistic data. Ten file types, four data templates, size controls from 1 KB to 100 MB and beyond. Free, no sign-up.

Jump straight to a format.

Each format page opens this generator preconfigured — PDF preselected, CSV ready to go — with format-specific tips and FAQs.

Learn more about the file generator

10
file formats
4
data templates
100MB+
size range
0
uploads to servers

One tool, two jobs.

Most dummy file generators do one of two things: they create empty files of a specific size (good for testing upload limits, bad for testing parsers), or they generate small realistic sample files (good for testing imports, bad for stress tests). DummyHub’s file generator does both.

Need a 50 MB file to test your upload limit? Pick “Binary (exact size)”, set 50 MB, and you get a file of exactly that size, fast.

Need a realistic 10,000-row customer CSV to test your import flow? Pick CSV, choose the “Contacts / CRM” data template, and you get a properly structured file with headers, realistic names, emails, phone numbers, and addresses.

You pick based on what you’re testing, not based on which tool you have to open.

Ten file formats. Pick the one your test case needs.

Document formats

PDF

Multi-page documents with realistic content, suitable for testing upload validators, PDF parsers, and document preview components.

Plain Text (.txt)

For the simplest upload and parsing tests.

Markdown (.md)

For testing static site generators, documentation pipelines, and Markdown parsers.

HTML (.html)

For email client testing, HTML-to-PDF pipelines, and template rendering.

Structured data formats

CSV

The default for spreadsheet imports, database seeding, and data pipeline tests. Includes header row by default, toggleable in advanced settings.

JSON

For API response mocking, fixture files, and NoSQL database seeding. Pretty-print toggle in advanced settings.

XML

For legacy system integrations, SOAP API tests, and config file parsing.

YAML

For config file parsing, CI/CD pipeline tests, and Kubernetes manifest validation.

Special formats

ZIP (mixed files)

A compressed archive with a mix of file types inside, useful for testing extraction flows and multi-file upload validators.

Binary (exact size)

Pure byte padding to hit a precise file size. For testing size limits, quotas, or transfer performance when the content doesn’t matter.

Four data templates for realistic content.

For CSV, JSON, XML, and YAML outputs, DummyHub ships four data templates that produce structurally valid, realistic-looking records:

  • Users / People. Names, emails, dates of birth, addresses, phone numbers. For user table seeding, auth system testing, and account import flows.
  • Products / Inventory. SKUs, product names, prices, stock counts, categories. For e-commerce imports, inventory management tests, and product catalog seeding.
  • Transactions / Orders. Order IDs, amounts, timestamps, customer IDs, statuses. For payment flow testing, reporting pipelines, and financial system imports.
  • Contacts / CRM. Contact names, companies, job titles, emails, phone numbers. For CRM imports (Salesforce, HubSpot, Pipedrive) and address book tests.

Every record is fictional and safe to use in staging environments, shared repos, and public demos.

Size controls from 1 KB to 100 MB and beyond.

Pick from preset sizes (1 KB, 10 KB, 100 KB, 512 KB, 1 MB, 5 MB, 10 MB, 25 MB, 50 MB, 100 MB) or enter a custom size in KB or MB. There’s no hard cap. The file is generated client-side, so the only real limit is your browser’s memory.

For structured files (CSV, JSON, XML, YAML), the target size controls how many records are generated. A 1 MB CSV with the Users template produces roughly 10,000 rows; a 100 MB CSV produces about a million. Use this to stress-test your parser or import flow against real-scale data.

For binary files, the size is exact to the byte. Useful for:

  • Testing upload size limits (does your app correctly reject a 101 MB file when the limit is 100 MB?)
  • Testing network transfer speeds and timeouts
  • Filling disk space in a test environment
  • Hitting quota boundaries in cloud storage buckets

What is a dummy file?

dummyhub — man dummy-file

$ man dummy-file

NAME
dummy-file — any generated file used in place of a real one during testing, development, or demos. The content is fictional or padded, and the file exists to answer questions like “does this upload work?”, “does this parser handle edge cases?”, or “how does my system behave with a 100 MB input?”.

TYPES
sample files — realistic-looking structure and content. A sample CSV has proper headers and records that look like real data; a sample PDF has text, pages, and valid document structure. For testing parsers, importers, validators, and preview components. Shape matters more than size.
size-only files — byte padding with no meaningful content. For testing upload limits, transfer speeds, and storage quotas. Size matters more than shape.

USAGE
DummyHub generates both. Pick a file type and data template for sample files; pick “Binary (exact size)” for size-only files.

When to use generated files (and what to watch for).

Use dummy files when

  • You’re testing file upload flows, including size limits, format validators, and error states
  • You’re developing import or parsing features and need representative input
  • You’re seeding a database or testing a data pipeline with real-scale data
  • You’re demoing a product and need sample files that look plausible
  • You’re stress-testing a storage system, CDN, or network pipeline

A few things to watch for

  • Don’t upload generated files to production. If your app syncs test data to a live system (a CRM, an analytics tool), you could end up with fictional records in production
  • Generated PDFs are valid, but minimal. If you’re testing advanced PDF features (forms, annotations, OCR), you’ll want a real document
  • Large files tax the browser. For truly large files (1 GB+), a CLI command (fsutil on Windows, mkfile on macOS, dd on Linux) is faster
  • Some enterprise upload scanners flag generated files. If a scanner quarantines one, that’s usually a feature, not a bug

FAQ

Is DummyHub's file generator really free?

Yes. Every file type, every data template, every size is free. No account, no daily limit, no watermarks.

What's the largest file I can generate?

There's no fixed upper limit. Files are generated in your browser, so the practical cap is your browser's available memory. Most systems handle 100 MB without effort. Files in the 500 MB to 1 GB range work on most modern machines but will take longer. For files larger than that, a CLI tool on your operating system (fsutil on Windows, mkfile on macOS, dd on Linux) is usually faster.

Is the generated data realistic or just random?

Both, depending on what you pick. The data templates (Users, Products, Transactions, Contacts) produce realistic-looking records: proper names, valid-looking emails, plausible addresses, reasonable prices and quantities. The "Binary (exact size)" option produces raw bytes with no structure, optimized for hitting a precise file size. Pick based on whether you're testing content or size.

Can I use the generated files commercially?

Yes. Generated files are fictional, unlicensed, and free to use in commercial projects, client work, paid products, and public demos. Do not use them as final production data.

Are the PDFs real, valid PDFs?

Yes, by default. Generated PDFs are structurally valid and will open in any PDF reader. They contain placeholder text on multiple pages, not just empty padding. They will not, however, contain forms, annotations, embedded fonts beyond defaults, or other advanced PDF features. For testing those, use a real document. If you need the opposite — a PDF that fails to open — use the PDF integrity option.

Can I generate a broken or corrupted PDF for testing?

Yes. Set "PDF integrity" to one of the broken modes: truncated (the file is cut off mid-body, so the trailer is missing), corrupt header (the %PDF magic bytes are destroyed, so parsers won't recognize it), or invalid xref table (the cross-reference pointer leads nowhere). Use these to test how your upload validators, preview components, and error states handle damaged files — without hunting for a real corrupted document.

How do I generate a file of a very specific exact size?

Pick "Binary (exact size)" as the file type and set the size in the custom size field. The output will be exactly the specified byte count. This is the option to use when you're testing upload limits, transfer speeds, or quota boundaries and the content doesn't matter.

Can I generate files with my own content or a specific schema?

Not in the current version. The file generator uses built-in content themes and data templates. For custom schema support (define your own fields, data types, and relationships), the data generator offers more control and exports to CSV, JSON, and SQL.

Will generated files trigger antivirus or security scanners?

Usually no. Generated files are structurally valid with benign content. That said, some enterprise security tools flag files with no "meaningful" content or files generated by scripts as suspicious. If you're testing upload flows in a corporate environment and the file is being rejected by a scanner, that's expected behavior and usually a sign your security tool is working.

Are the generated files safe to share?

Yes, as long as you're sharing them as test files. The contents are fictional and don't contain real personal data, credentials, or sensitive information. Don't pass them off as real data.