Download .PDF Sample Files

Jump to:     File Information     Download     How to Open

What is a PDF File?

A PDF (Portable Document Format) file is a document that looks the same on every device, with its text, fonts, images and layout fixed in place. Adobe created PDF in 1993, and since 2008 it has been an open ISO standard (ISO 32000). Most PDFs are made by exporting from another program, such as Microsoft Word, a browser’s “Print to PDF” option or a scanner.

Besides text and images, PDF files can hold links, form fields, digital signatures, password protection and attachments. Every web browser can open PDFs, as can Adobe Acrobat Reader and the built-in viewers on Windows, macOS, iOS and Android.

Download PDF Sample Files

Below are two small PDF documents exported from Microsoft Word: a text-only essay and an illustrated article. They are the PDF versions of our DOCX samples, so you can compare the two formats.

[109.1 KiB]
[130.7 KiB]

PDF Sample File Details

SamplePagesContentImagesFile size
Sample1.PDF2Essay about education and technologyNone109 KB
Sample2.PDF3Article about cooking with avocados1131 KB

Both files are PDF version 1.5 at US Letter size (8.5 × 11 inches), created by Microsoft Word 2016. They are not password-protected and their text can be selected and copied.

What You Can Test With These PDF Files

  • Viewers and embeds: PDF previews in browsers, apps and document management systems.
  • Text extraction: search indexing and copy-and-paste, since the text is real, selectable text.
  • Conversion: PDF to Word and back, using the matching DOCX samples for comparison.
  • Uploads: forms that accept application/pdf, with small files that upload quickly.
  • PDF tools: merging, splitting, watermarking and page counting.

How to Inspect a PDF File

# Show the PDF version, page count and page size (poppler-utils)
pdfinfo sample-1.pdf

# Extract the text
pdftotext sample-1.pdf -

# Python with pypdf
from pypdf import PdfReader
print(len(PdfReader("sample-2.pdf").pages))  # 3

PDF vs Other Document Formats

FormatEditableBest for
PDFLimitedSharing and printing with a fixed layout
DOCXYesWriting and editing in Word
DOCYesOlder Word documents (before 2007)
ODTYesLibreOffice and open-source office suites
TXTYesPlain text without formatting