5-Page Sample PDF Download

Contains 5 distinctly numbered pages with clean synthetic layouts. Safe, neutral synthetic document designed for upload validation, server timeout testing, and QA test suites.

Exact File Size
3,723 bytes
Target Boundary
5-Page
Primary Use Case
Compact pagination & short document QA

The preview renders using your browser's PDF viewer. Click "Open full screen" if inline rendering is unavailable.

File Specifications

Accurate metadata and checksums for automated testing assertion libraries:

PropertyVerified ValueTesting Significance
File Namesample-5-pages.pdfExpected file name in multipart form payloads.
Exact Byte Size3,723 bytesGuarantees exact threshold testing without rounding ambiguities.
MIME Typeapplication/pdfStandard header for upload filter and accept=".pdf" testing.
PDF VersionPDF-1.4Universal backwards compatibility across all viewers and parsers.
SHA-256 Checksum11bdf5a377ee2b85d89d48ee23774ffe34d10a14143716c33aed7f04dd76c762Verify byte-for-byte transmission integrity in CI pipelines.

Developer Quick Test Snippets

Copy and paste these pre-configured commands to test uploads, API endpoints, and browser automation:

1. Direct Download via cURL

curl -O https://samplepdf.org/files/sample-5-pages.pdf

2. Python (Requests) Upload Test

import requests

url = "https://your-api.example.com/api/upload"
with open("sample-5-pages.pdf", "rb") as f:
    response = requests.post(url, files={"file": ("sample-5-pages.pdf", f, "application/pdf")})

print(f"Status: {response.status_code}")
assert response.status_code in [200, 201, 413]  # Expect success or Payload Too Large

3. Playwright E2E File Upload

import { test, expect } from '@playwright/test';

test('verify 5-Page Sample PDF Download upload limit', async ({ page }) => {
  await page.goto('https://your-app.example.com/upload');
  await page.setInputFiles('input[type="file"]', 'sample-5-pages.pdf');
  await page.click('button[type="submit"]');
  // Add your expected assertion below:
  // await expect(page.locator('.toast')).toContainText('File uploaded successfully');
});

Why Test With This Specification?

5 pages is the ideal compact fixture for testing short multi-page workflows such as invoices, legal disclosures, and mini-brochures without waiting for heavy file downloads.

Frequently Asked Questions

Why use a 5-page PDF instead of a single-page document?

A single-page document cannot test pagination bars, page flip animations, or page range printing (e.g., printing pages 2-4). A 5-page file provides a lightweight multi-page test.

Are all 5 pages distinct?

Yes. Each page features clear page numbering (Page 1 of 5 through Page 5 of 5) and clean synthetic content.

Explore Full Testing Matrix & Related Fixtures