Sample Document Files for Download — PDF, DOCX, XLSX, PPTX, ODT, RTF, TXT

14 formats · 40 files · direct links · no ads · free for any use

These are realistic business documents, not lorem ipsum: headings, paragraphs with Unicode and smart quotes, bullet and numbered lists, a data table, embedded images, page breaks, and document properties. Spreadsheets contain fictional orders with working formulas; presentations include speaker notes. All content is deterministic, so a file you download today is byte-identical to the one in your fixtures next year.

Use them to test document previewers, text extraction, conversion services, virus scanners, email attachments, and upload size limits. PDF variants cover the cases that break parsers: many pages, a fillable AcroForm, an A4 landscape page, and a password-protected file (password: test).

In a hurry? Download the documents sample pack — one small file of every documents format (14 files), 110 KB. Download pack (ZIP)

Choose a format

Frequently asked questions

Are the DOC, RTF and ODT files real, or renamed DOCX files?

They are real. The DOCX files are generated with python-docx and then converted to the legacy Word binary format, RTF and OpenDocument Text with macOS's built-in converter, so each file has the correct internal structure and magic bytes for its type. Note that the converted formats keep text and tables but drop embedded images.

What is the password for the protected PDF?

The user password is test (lower-case). It is encrypted with AES-256, which is what a modern PDF library will produce, so it is a fair test of whether your viewer or extraction service handles encrypted input.

Other sample file categories

Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.