Document File Generator
Generate mock documents in various formats for testing workflows.
Compatible with all major applications and editors
Create fake PDF files of an exact size for upload, email and document processing tests. PDF is already selected below: enter a size and generate.
Generate mock documents in various formats for testing workflows.
Compatible with all major applications and editors
Every file is a valid PDF that opens in any PDF reader. Each page shows its page number, the generation date and placeholder Lorem ipsum text, so you can see at a glance which test file you're looking at.
The number of pages grows with the size you choose: about 20 pages per MB, so a 1 MB file has 20 pages and a 5 MB file has 100. The rest of the requested size is filled with padding after the end of the document, which PDF readers ignore.
Enter any size from 0.01 MB (about 10 KB) up to 1,000 MB and the file comes out at exactly that number of bytes. FileMock uses binary megabytes, so 1 MB = 1,048,576 bytes and 25 MB = 26,214,400 bytes.
Very small sizes are the exception: a PDF needs a minimum structure, so targets below about 7 KB produce the smallest possible file, around 7 KB.
Generated PDFs contain text only. If your test needs password-protected PDFs, scanned images, fillable forms or PDF/A archives, use a dedicated PDF tool for those cases.
Answers to common questions about generating dummy PDF files for testing.