Download Sample PDF Test Files
Enterprise-grade Portable Document Format (PDF) test files for QA automation, OCR training, and document processing. Download exact byte-padded sizes, corrupted xref tables, vector graphics, linearized web-optimized PDFs, and dense structural edge cases to stress-test your parsers.
Browse by Feature
by Exact Size
Download precisely padded PDF files up to 5GB. Essential for testing upload constraints, stream parsing, and WAF rate limits.
by Page Count
Download sample PDF documents featuring precise page lengths up to 1000 pages for testing rendering engines and indexing algorithms.
Basic Content PDF Test Files
Download baseline PDF files focused on core elements like vector graphics, CMYK colors, multi-column layouts, and tables.
Scanned & OCR PDF Files
Test your Tesseract, AWS Textract, and Google Vision pipelines with sample scanned PDFs, Hybrid OCR documents, and noisy image layers.
Multilingual & Unicode PDF Files
Test Unicode extraction, Right-to-Left (RTL) Arabic/Hebrew rendering, and complex CJK typographic algorithms with sample multilingual PDFs.
PDF AcroForms & Interactive Forms
Download PDF test files containing interactive AcroForm fields (text boxes, dropdowns, checkboxes) to validate automated form-processing pipelines.
PDF Hyperlinks & Bookmarks
Download PDF test files containing internal bookmarks and external URLs to validate Link Annotations and Document Outlines.
PDF Password & Encryption Security
Download encrypted PDF files featuring AES-256 and User/Owner passwords to test decryption flows. All passwords are "spytm".
Digitally Signed PDF Files
Test cryptographic validation and PKI infrastructure with sample PDF files containing digital signatures, expired certificates, and self-signed roots.
PDF/A Archival Standard Files
Download strictly compliant PDF/A files to validate enterprise archival, e-discovery, and compliance ingestion pipelines.
Linearized & Web-Optimized PDF Files
Download linearized PDF test files to validate HTTP range requests, streaming extraction, and web-optimized fast-view algorithms.
PDF Page Dimensions & Orientation
Test PDF MediaBox dimensions with sample files formatted for physical media sizes like A3, A4, Letter, and mixed portrait/landscape layouts.
PDF XMP Metadata & Info Dictionaries
Download PDF test files packed with traditional /Info dictionaries and embedded XML (XMP) to test document classification pipelines.
PDF Fonts & Font Subsets
Test typographic rendering algorithms with sample PDF files containing fully embedded fonts, custom subsets, and missing system fonts.
PDF Embedded Files & Attachments
Download PDF test files containing embedded file attachments to test payload extraction and malware analysis pipelines.
PDF Layers & Optional Content Groups
Download PDF test files featuring Optional Content Groups (Layers) and transparency to test visibility toggling and flattening algorithms.
PDF Compression & Object Streams
Download PDF test files utilizing /FlateDecode, /DCTDecode, and /ObjStm to test decompression algorithms and memory limits.
PDF Comments & Annotations
Test extraction and rendering pipelines with sample PDF files containing sticky notes, highlights, underlines, and free-hand ink annotations.
PDF Filename Edge Cases
Test file system limits and sanitization scripts with sample PDF files featuring extreme lengths, Unicode characters, and spaces.
Corrupted & Malformed PDF Files
Download intentionally corrupted PDFs, severed xref tables, and spoofed MIME types to test parser error handling and structural resilience.
Enterprise PDF Templates
Download pre-formatted PDF templates representing common enterprise documents like invoices, medical reports, and tax forms for OCR training.
Complex PDF Combination Files
Download "boss-level" complex PDF test files combining encryption, OCR, huge tables, and mixed orientations into single chaotic documents.
Precise File Sizes
Test your server's upload limits, timeouts, and bandwidth using exactly padded dummy files ranging from 1KB to 5GB.
| File | Size | Action |
|---|---|---|
Small 20 KB spytm_Small_20KB.pdf | 20 KB | |
Small 50 KB spytm_Small_50KB.pdf | 50 KB | |
Small 100 KB spytm_Small_100KB.pdf | 100 KB | |
Small 500 KB spytm_Small_500KB.pdf | 500 KB | |
Medium 1 MB spytm_Medium_1MB.pdf | 1 MB | |
Medium 5 MB spytm_Medium_5MB.pdf | 5 MB | |
Medium 10 MB spytm_Medium_10MB.pdf | 10 MB | |
Medium 25 MB spytm_Medium_25MB.pdf | 25 MB |
Page Counts
Test document parsers and rendering engines with files ranging from 1 to 1000 pages.
| File | Size | Action |
|---|---|---|
1 pages spytm_1_pages.pdf | 1.3 KB | |
5 pages spytm_5_pages.pdf | 3.2 KB | |
10 pages spytm_10_pages.pdf | 5.5 KB | |
50 pages spytm_50_pages.pdf | 24.1 KB | |
100 pages spytm_100_pages.pdf | 47.4 KB | |
500 pages spytm_500_pages.pdf | 236.5 KB | |
1000 pages spytm_1000_pages.pdf | 472.6 KB |
Basic Content Types
Text-only, image-heavy, vector graphics, multi-column layouts, and technical drawings.
| File | Size | Action |
|---|---|---|
Valid blank spytm_Valid_blank.pdf | 1.3 KB | |
RGB image spytm_RGB_image.pdf | 3 KB | |
Image only spytm_Image_only.pdf | 12 KB | |
Image heavy spytm_Image_heavy.pdf | 14.1 KB | |
Vector graphics spytm_Vector_graphics.pdf | 15.2 KB | |
Text only spytm_Text_only.pdf | 15.2 KB | |
Text charts spytm_Text_charts.pdf | 15.4 KB | |
Multi column spytm_Multi_column.pdf | 15.4 KB | |
Magazine layout spytm_Magazine_layout.pdf | 15.5 KB | |
Text tables spytm_Text_tables.pdf | 15.5 KB | |
Technical drawing spytm_Technical_drawing.pdf | 15.6 KB | |
Multi page text spytm_Multi_page_text.pdf | 20.7 KB | |
Mixed content spytm_Mixed_content.pdf | 26 KB | |
CMYK image spytm_CMYK_image.pdf | 29.5 KB |
Scanned & OCR
Simulated scanned documents with and without OCR text layers.
| File | Size | Action |
|---|---|---|
Scanned spytm_Scanned.pdf | 32.4 KB | |
OCR spytm_OCR.pdf | 36.3 KB | |
Hybrid Scan OCR spytm_Hybrid_Scan_OCR.pdf | 36.3 KB |
Internationalization
Test Unicode support, CJK characters, RTL page ordering, Arabic, and Hebrew text.
| File | Size | Action |
|---|---|---|
Emoji spytm_Emoji.pdf | 15.2 KB | |
Korean spytm_Korean.pdf | 15.2 KB | |
Chinese spytm_Chinese.pdf | 15.2 KB | |
Arabic RTL spytm_Arabic_RTL.pdf | 15.2 KB | |
Hebrew spytm_Hebrew.pdf | 15.2 KB | |
Japanese spytm_Japanese.pdf | 15.2 KB | |
Unicode multilingual spytm_Unicode_multilingual.pdf | 15.9 KB | |
RTL page order spytm_RTL_page_order.pdf | 16.1 KB |
AcroForms
Empty and pre-filled interactive PDF forms.
| File | Size | Action |
|---|---|---|
Filled form spytm_Filled_form.pdf | 18.3 KB | |
Empty form spytm_Empty_form.pdf | 19 KB |
Hyperlinks & Bookmarks
Internal/external links, Table of Contents, and Outline structures.
| File | Size | Action |
|---|---|---|
External hyperlinks spytm_External_hyperlinks.pdf | 15.6 KB | |
Internal hyperlinks spytm_Internal_hyperlinks.pdf | 16.2 KB | |
Bookmarks Outline spytm_Bookmarks_Outline.pdf | 18.3 KB | |
Table of Contents spytm_Table_of_Contents.pdf | 19.2 KB |
Encryption & Passwords
AES-128/256 encrypted files with Owner and User passwords.
| File | Size | Action |
|---|---|---|
AES-128 spytm_AES-128.pdf | 15.9 KB | |
AES-256 spytm_AES-256.pdf | 16.2 KB | |
User password spytm_User_password.pdf Password: spytm | 16.2 KB | |
Owner password spytm_Owner_password.pdf Password: spytm | 16.2 KB |
Digital Signatures
Self-signed, digitally signed, and expired certificate signatures.
| File | Size | Action |
|---|---|---|
Digitally signed spytm_Digitally_signed.pdf | 23.1 KB | |
Expired signature spytm_Expired_signature.pdf | 23.2 KB | |
Self signed spytm_Self_signed.pdf | 23.3 KB |
PDF/A Compliance
Archival grade PDF/A compliant documents.
| File | Size | Action |
|---|---|---|
PDFA-1b spytm_PDFA-1b.pdf | 2.5 KB | |
PDFA-3b spytm_PDFA-3b.pdf | 2.5 KB | |
PDFA-2b spytm_PDFA-2b.pdf | 2.5 KB |
Web Optimized
Linearized "Fast Web View" enabled PDFs.
| File | Size | Action |
|---|---|---|
Linearized spytm_Linearized.pdf | 17.6 KB |
Page Dimensions
A3, A4, A5, Letter, Legal, Mixed orientations, and Custom shipping labels.
| File | Size | Action |
|---|---|---|
4x6 Shipping Label spytm_4x6_Shipping_Label.pdf | 1.6 KB | |
Portrait spytm_Portrait.pdf | 15.2 KB | |
Landscape spytm_Landscape.pdf | 15.2 KB | |
Letter spytm_Letter.pdf | 15.2 KB | |
Legal spytm_Legal.pdf | 15.2 KB | |
A4 spytm_A4.pdf | 15.2 KB | |
A5 spytm_A5.pdf | 15.2 KB | |
A3 spytm_A3.pdf | 15.2 KB | |
Mixed orientation spytm_Mixed_orientation.pdf | 16.4 KB |
Metadata
Files with Standard Metadata, XMP Metadata, and stripped metadata.
| File | Size | Action |
|---|---|---|
No metadata spytm_No_metadata.pdf | 14.7 KB | |
Metadata spytm_Metadata.pdf | 15 KB | |
XMP metadata spytm_XMP_metadata.pdf | 15.8 KB |
Fonts & Typography
Embedded fonts, font subsets, missing fonts, and multi-font documents.
| File | Size | Action |
|---|---|---|
Missing fonts spytm_Missing_fonts.pdf | 775 Bytes | |
Embedded fonts spytm_Embedded_fonts.pdf | 15.2 KB | |
Font subsets spytm_Font_subsets.pdf | 15.3 KB | |
Multiple fonts spytm_Multiple_fonts.pdf | 16.2 KB |
File Attachments
PDFs containing embedded XML, TXT, and other PDF files.
| File | Size | Action |
|---|---|---|
Embedded XML spytm_Embedded_XML.pdf | 15.5 KB | |
Embedded TXT spytm_Embedded_TXT.pdf | 15.5 KB | |
Embedded PDF spytm_Embedded_PDF.pdf | 29.5 KB | |
Multiple attachments spytm_Multiple_attachments.pdf | 30.2 KB |
Layers (OCG)
Flattened files vs Transparent layered objects.
| File | Size | Action |
|---|---|---|
Layered OCG spytm_Layered_OCG.pdf | 1 KB | |
Flattened spytm_Flattened.pdf | 15.2 KB | |
Transparent objects spytm_Transparent_objects.pdf | 15.4 KB |
Compression
Object streams, uncompressed, and highly compressed images.
| File | Size | Action |
|---|---|---|
Compressed images spytm_Compressed_images.pdf | 7.4 KB | |
Object streams spytm_Object_streams.pdf | 14.2 KB | |
Compressed streams spytm_Compressed_streams.pdf | 15 KB | |
Uncompressed spytm_Uncompressed.pdf | 15.1 KB |
Annotations
Highlights, sticky notes, comments, and ink annotations.
| File | Size | Action |
|---|---|---|
Sticky note annotation spytm_Sticky_note_annotation.pdf | 15.1 KB | |
Comment annotation spytm_Comment_annotation.pdf | 15.1 KB | |
Ink annotation spytm_Ink_annotation.pdf | 15.2 KB | |
Highlight annotation spytm_Highlight_annotation.pdf | 15.2 KB | |
Underline annotation spytm_Underline_annotation.pdf | 15.2 KB |
Complex Filenames
Unicode, spaces, very long names, and special characters in the filename.
| File | Size | Action |
|---|---|---|
Spaces in filename spytm_Spaces in filename.pdf | 15.2 KB | |
Unicode テスト Файл spytm_Unicode_テスト_Файл.pdf | 15.2 KB | |
Special !@#$%^&() chars spytm_Special_!@#$%^&()_chars.pdf | 15.2 KB | |
Very Long Filename AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA spytm_Very_Long_Filename_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.pdf | 15.2 KB |
Edge Cases & Corruption
0-byte, truncated streams, missing EOF markers, broken xrefs, and invalid object IDs to ensure parsers don't crash.
| File | Size | Action |
|---|---|---|
0-Byte Empty File spytm_0_byte.pdf | 0 Bytes | |
Whitespace only streams spytm_Whitespace_only_streams.pdf | 559 Bytes | |
Invalid object references spytm_Invalid_object_references.pdf | 701 Bytes | |
Duplicate object IDs spytm_Duplicate_object_IDs.pdf | 728 Bytes | |
Truncated spytm_Truncated.pdf | 7.6 KB | |
Missing EOF Marker spytm_Missing_EOF.pdf | 15.2 KB | |
Wrong MIME type spytm_Wrong_MIME_type.txt | 15.2 KB | |
Corrupted spytm_Corrupted.pdf | 15.2 KB | |
Renamed extension spytm_Renamed_extension.jpg | 15.2 KB | |
Stream length mismatch spytm_Stream_length_mismatch.pdf | 15.2 KB | |
Broken Cross-Reference Table spytm_Broken_xref.pdf | 15.2 KB |
Enterprise Templates
Simulated Invoices, Resumes, Tax Forms, Medical Reports, and NDAs.
| File | Size | Action |
|---|---|---|
User Manual spytm_User_Manual.pdf | 15.2 KB | |
Shipping Label spytm_Shipping_Label.pdf | 15.2 KB | |
Packing Slip spytm_Packing_Slip.pdf | 15.2 KB | |
Academic Paper spytm_Academic_Paper.pdf | 15.2 KB | |
Government Form spytm_Government_Form.pdf | 15.2 KB | |
Resume spytm_Resume.pdf | 15.2 KB | |
Bank Statement spytm_Bank_Statement.pdf | 15.2 KB | |
Contract spytm_Contract.pdf | 15.2 KB | |
Medical Report spytm_Medical_Report.pdf | 15.2 KB | |
Insurance Form spytm_Insurance_Form.pdf | 15.2 KB | |
Certificate spytm_Certificate.pdf | 15.2 KB | |
Presentation Handout spytm_Presentation_Handout.pdf | 15.2 KB | |
NDA spytm_NDA.pdf | 15.2 KB | |
Tax Form spytm_Tax_Form.pdf | 15.2 KB | |
Purchase Order spytm_Purchase_Order.pdf | 15.2 KB | |
Receipt spytm_Receipt.pdf | 15.2 KB | |
Invoice spytm_Invoice.pdf | 15.3 KB |
Complex Combinations
Heavy permutations like "Multilingual Bookmarks", "Tax Form AcroForm", or "Invoice Signed".
| File | Size | Action |
|---|---|---|
Combo OCR PDFA spytm_Combo_OCR_PDFA.pdf | 2.5 KB | |
Combo Scan OCR Password spytm_Combo_Scan_OCR_Password.pdf Password: spytm | 10.2 KB | |
Combo User Manual Attachments spytm_Combo_User_Manual_Attachments.pdf | 15.9 KB | |
Combo Image heavy OCR spytm_Combo_Image_heavy_OCR.pdf | 16.1 KB | |
Combo Bank Statement Password spytm_Combo_Bank_Statement_Password.pdf Password: spytm | 16.2 KB | |
Combo Mixed Sizes Landscape spytm_Combo_Mixed_Sizes_Landscape.pdf | 16.3 KB | |
Combo Multilingual Bookmarks spytm_Combo_Multilingual_Bookmarks.pdf | 16.8 KB | |
Combo Tax Form AcroForm spytm_Combo_Tax_Form_AcroForm.pdf | 19 KB | |
Combo Invoice Signed spytm_Combo_Invoice_Signed.pdf | 23.1 KB | |
Combo Resume Signed spytm_Combo_Resume_Signed.pdf | 23.1 KB |
Common Use Cases
- Stress-testing PDF rendering engines, text extraction logic, and OCR bounding boxes.
- Validating server-side upload limits with precise byte-padded binary streams.
- Ensuring backend pipelines fail gracefully when users upload structurally corrupted or malformed PDFs.
- Training machine learning document classification models using clean, privacy-compliant dummy data.
Frequently Asked Questions
Why are these PDF files better than saving an empty document?
Typical PDFs generated by browsers or Word are unpredictable in size and internal structure. Our files are programmatically generated and structurally padded at the binary level to hit precise boundary conditions (like exactly 500MB) or intentionally corrupted (like severed Cross-Reference Tables) to ensure your parsers and WAFs handle malformed uploads securely.
Are these sample PDFs safe to process on my servers?
Yes. All of our PDF files, including the intentionally corrupted variants, contain zero malicious payloads or executable JavaScript. The "corruption" is strictly structural (such as truncated EOF markers or spoofed MIME types) to safely trigger exceptions in your extraction pipelines without risking RCE or malware.
What internal PDF structures do you test?
A standard PDF relies on a delicate balance of the Header, Body (Objects and Streams), Cross-Reference Table (xref), and Trailer. Testing requires checking how your application handles missing xrefs, malformed dictionaries, high-compression object streams (/ObjStm), and massive binary payloads. Our suite independently isolates and stresses each of these components.