100 KB Sample PDF Download

Calibrated to exactly 102,400 bytes for minimal-latency testing. Safe, neutral synthetic document designed for upload validation, server timeout testing, and QA test suites.

Exact File Size
102,400 bytes
Target Boundary
100
Primary Use Case
Micro-service endpoints & fast mobile tests

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-100kb.pdfExpected file name in multipart form payloads.
Exact Byte Size102,400 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 Checksum9e4fcc86666f72a2bf49b41eb20082d35fc427d4e21bfc794243bd58ea42240cVerify 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-100kb.pdf

2. Python (Requests) Upload Test

import requests

url = "https://your-api.example.com/api/upload"
with open("sample-100kb.pdf", "rb") as f:
    response = requests.post(url, files={"file": ("sample-100kb.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 100 KB Sample PDF Download upload limit', async ({ page }) => {
  await page.goto('https://your-app.example.com/upload');
  await page.setInputFiles('input[type="file"]', 'sample-100kb.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?

A 100 KB file transfers in milliseconds, making it the ideal fixture for high-speed integration tests, CI pipelines, and mobile network edge testing.

Frequently Asked Questions

When should I use a 100 KB test PDF instead of a larger file?

Use 100 KB when running thousands of unit or integration test cycles where network latency and disk I/O would otherwise slow down your test suite.

Is the file a valid PDF standard document?

Yes. It adheres strictly to PDF 1.4 specifications and opens reliably across Adobe Acrobat, Google Chrome, Mozilla Firefox, Apple Preview, and PDF.js.

Explore Full Testing Matrix & Related Fixtures