Sample Document Files — PDF, DOCX, EPUB, Markdown, XLSX, PPTX, CSV, TXT
Download free sample document files in PDF, Word (DOCX), EPUB (ebook), Markdown (developer docs), Excel (XLSX), PowerPoint (PPTX), CSV, and plain text (TXT). From 1KB to 100MB for testing uploads, viewers, and office apps.
Browse by Format
Portable Document Format — 1KB to 10MB
View all PDF →sample-1kb.pdf
1 pages
Verified file details
- Filename
- sample-1kb.pdf
- Exact size
- 6,117 bytes
- Displayed size
- 6.0 KB
- MIME type
- application/pdf
- Pages
- 1
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-1kb.pdf
sample-10kb.pdf
1 pages
Verified file details
- Filename
- sample-10kb.pdf
- Exact size
- 12,305 bytes
- Displayed size
- 12.0 KB
- MIME type
- application/pdf
- Pages
- 1
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-10kb.pdf
sample-50kb.pdf
2 pages
Verified file details
- Filename
- sample-50kb.pdf
- Exact size
- 55,016 bytes
- Displayed size
- 53.7 KB
- MIME type
- application/pdf
- Pages
- 2
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-50kb.pdf
sample-100kb.pdf
5 pages
Verified file details
- Filename
- sample-100kb.pdf
- Exact size
- 102,725 bytes
- Displayed size
- 100 KB
- MIME type
- application/pdf
- Pages
- 5
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-100kb.pdf
sample-500kb.pdf
10 pages
Verified file details
- Filename
- sample-500kb.pdf
- Exact size
- 517,116 bytes
- Displayed size
- 505 KB
- MIME type
- application/pdf
- Pages
- 10
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-500kb.pdf
sample-1mb.pdf
20 pages
Verified file details
- Filename
- sample-1mb.pdf
- Exact size
- 1,051,915 bytes
- Displayed size
- 1.00 MB
- MIME type
- application/pdf
- Pages
- 20
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/pdf/sample-1mb.pdf
Related reading
PDF Parsing and Text Extraction — A Practical Guide
Extract text, metadata, and structure from PDF files with pdf.js and pdf-parse. Handle scanned PDFs with OCR. Sample PDFs from 1KB to 100MB for every test case.
Testing Word and Excel Uploads in Production
Validating DOCX and XLSX uploads — size limits, macro detection, corrupted files, and viewer compatibility. Sample office files for every edge case.
Audio Upload Validation and Server-Side Transcoding
Validate audio uploads, check real format, and transcode with ffmpeg on the server. Sample MP3, WAV, OGG, and AAC files for every edge case.