Sample PDF Files
DocumentPortable Document Format — universally supported
Download by size
Need a custom PDF file?
Configure exact parameters and download on demand.
Download via curl
# Download the 1 MB PDF file
curl -L "http://localhost:8000/files/pdf/sample-pdf-1mb.pdf" \
-o sample-pdf-1mb.pdf
# Generate a custom file via API
curl -X POST https://gettestfiles-api.fly.dev/generate/pdf \
-H "Content-Type: application/json" \
-d '{}' --output custom.pdf