Free Test Files

Everything you need to test uploads, previews and file handling: generators for every common format, ready-made sizes and deliberately broken files.

Test Files of an Exact Size

The generators create files of exactly the size you enter, in the format you pick. The sample PDF and test file download pages offer the most common sizes as one-click downloads.

Every file is created in your browser, so nothing is uploaded and there are no download links to expire.

Which Tool Should I Use?

  • A file in a specific format and size: the test file generator or one of the format generators.
  • A quick PDF in a common size: Sample PDF.
  • A large file for upload or storage tests: Test File Download.
  • A broken, truncated or misnamed file for error handling tests: Corrupt File Generator.

Test Files FAQ

Common questions about the FileMock test files.

More Free Tools