Developer & QA Resources

Sample Files & QA Testing Resources

Download small, synthetic files for upload checks, parsers, previews, and error handling. Each sample includes its scenario, expected result, and checksum.

PDFValid

One-page PDF

Synthetic one-page pdf for document testing.

basic.pdf · 1.4 KB · application/pdf

Test: Test handling of one-page pdf.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 5b0d18a756ba8f36240c5dd0ee2a8a74621a134af38c7c7310862555d0465579

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.pdf
PDFValid

Three-page PDF

Synthetic three-page pdf for document testing.

multipage.pdf · 2.3 KB · application/pdf

Test: Verify page count and page order.
Expected: A compatible PDF reader should show three pages in order.

Checksum and details

SHA-256: 0a3234be75eccd3d4f8c8826b7eb8e33e3a478eca14cdeea297d757dbaa3c4ec

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download multipage.pdf
PDFValid

PDF with an image

Synthetic pdf with an image for document testing.

image.pdf · 1.8 KB · application/pdf

Test: Verify embedded image rendering.
Expected: A compatible PDF reader should render the blue and yellow image.

Checksum and details

SHA-256: 7f2a1a53fc6b750a99321ff8ae290d92497ecf26b16554f51e2736da172280d9

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download image.pdf
PDFValid

PDF with a table

Synthetic pdf with a table for document testing.

table.pdf · 1.5 KB · application/pdf

Test: Check layout and text extraction from a table-like document.
Expected: A compatible reader should display four synthetic rows; extraction layout can vary.

Checksum and details

SHA-256: c31d93a83a9e2c098eac65844779f62410ab32416b74ac81442d8a4afaa53144

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download table.pdf
PDFValid

PDF with links and bookmarks

Synthetic pdf with links and bookmarks for document testing.

links-bookmarks.pdf · 2.3 KB · application/pdf

Test: Check internal navigation and document outlines.
Expected: A compatible reader should expose two bookmarks and a link to page two.

Checksum and details

SHA-256: 5201f1e173a237bdc8120ed4399d87381b7c58dae289c2fdf7f4bf63303020bb

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download links-bookmarks.pdf
PDFValid

PDF with an interactive form

Synthetic pdf with an interactive form for document testing.

form.pdf · 3.6 KB · application/pdf

Test: Check interactive form handling.
Expected: A compatible reader should expose a text field named sample_name.

Checksum and details

SHA-256: 4db698ddf8ecfa74761e6fb7671a88e230c162d748b0e273d761b4d64d8bd376

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download form.pdf
PDFValid

PDF with unusual page dimensions

Synthetic pdf with unusual page dimensions for document testing.

unusual-size.pdf · 1.4 KB · application/pdf

Test: Check nonstandard page dimensions.
Expected: A compatible reader should report a 360 by 720 point page.

Checksum and details

SHA-256: 76550526c0b6c82eafb07cd22f923b565db0770aeb9283fcbdd4203315477130

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download unusual-size.pdf
PDFValid

Blank-page PDF

Synthetic blank-page pdf for document testing.

blank-page.pdf · 1.3 KB · application/pdf

Test: Check a PDF with no visible content.
Expected: A compatible reader should open a one-page blank document.

Checksum and details

SHA-256: acff96bd37d45cf9f9f705d7363609a1777cebb7f03a74853564a998be303a57

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download blank-page.pdf
PDFValid

PDF with attachment

A PDF containing a harmless text attachment.

attachment.pdf · 1.4 KB · application/pdf

Test: Check embedded-file handling.
Expected: A compatible reader should list the harmless note.txt attachment.

Checksum and details

SHA-256: 06ff77afde72ae5250100943566ea2f9b8b95d08ab112f7b74271722f1c68c17

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download attachment.pdf
PDFEdge case

Password-protected PDF

Encrypted PDF; password: sample123.

password-protected.pdf · 1.4 KB · application/pdf

Test: Test handling of password-protected pdf.
Expected: A reader should request the password sample123 or report encrypted input.

Checksum and details

SHA-256: 05786061c788abe8e174f8e6f3d51612a1717fb20b508b64e5b0ed1aab5d095d

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download password-protected.pdf
PDFIntentionally invalid

Truncated PDF

PDF header with an incomplete object and no trailer.

truncated.pdf · 34 B · application/pdf

Test: Test handling of truncated pdf.
Expected: A PDF parser should reject the incomplete document.

Checksum and details

SHA-256: a5b85ea1e96d33e5a208c0af3a30b8e9dded6a2de44470f13ecad00994c24212

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download truncated.pdf
PDFEdge case

PDF with TXT extension

Valid PDF bytes saved with a .txt filename.

pdf-with-txt-extension.txt · 1.4 KB · application/pdf

Test: Test handling of pdf with txt extension.
Expected: Content sniffing identifies PDF; extension-only rules may reject or misclassify it.

Checksum and details

SHA-256: 5b0d18a756ba8f36240c5dd0ee2a8a74621a134af38c7c7310862555d0465579

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download pdf-with-txt-extension.txt
JPEGValid

Basic JPEG image

A small synthetic JPEG image.

basic.jpg · 1.1 KB · image/jpeg

Test: Test handling of basic jpeg image.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 8e69dce706f86c398641d219b95310ea764e020e8b0b584da196f73ee941bc4d

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.jpg
PNGValid

Basic PNG image

A small synthetic PNG image.

basic.png · 243 B · image/png

Test: Test handling of basic png image.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 99275e7a9a2d4f13bf6d3312be6a75c13d6d4750ba483828c3b6c060857faabd

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.png
GIFValid

Basic GIF image

A small synthetic GIF image.

basic.gif · 239 B · image/gif

Test: Test handling of basic gif image.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 9f5bfc9cb282ee2be8d45ed9f7dbac2de9d5c2005ede460e72bd58d25f646df6

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.gif
WEBPValid

Basic WEBP image

A small synthetic WEBP image.

basic.webp · 276 B · image/webp

Test: Test handling of basic webp image.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 223cba3ae2206f283ddc8d7e03b428e5d8b631cb2f750626d8f92f847fe765a8

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.webp
PNGValid

Transparent PNG

PNG with a partially transparent alpha channel.

transparent.png · 263 B · image/png

Test: Check alpha-channel handling.
Expected: A compatible image reader should preserve partial transparency.

Checksum and details

SHA-256: ec43c1cdcffdda40fda174a37ef7b8c15dfe645d80171aceb5f9f26fb937a42c

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download transparent.png
PNGEdge case

One-pixel PNG

A valid 1 by 1 pixel PNG.

one-pixel.png · 69 B · image/png

Test: Check minimum image dimensions.
Expected: A compatible image reader should report one by one pixel.

Checksum and details

SHA-256: 9d0b9c50d62ebe7cb4fb44ebeca1dfda0cd8c460bbf3a97db2dae946a26130c8

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download one-pixel.png
PNGEdge case

Large-dimension PNG

A small compressed file with 3000 by 2000 pixel dimensions.

large-dimensions.png · 21.7 KB · image/png

Test: Check pixel-dimension limits separately from file size.
Expected: A compatible image reader should report 3000 by 2000 pixels; application limits may reject it.

Checksum and details

SHA-256: f88702e86a5a470876b81c80f0ecaebcaa0aca7f3eec2a848df0c10576450526

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download large-dimensions.png
SVGValid

Simple SVG

A small vector image with a rectangle and circle.

shapes.svg · 164 B · image/svg+xml

Test: Test handling of simple svg.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: a2986582a0ec0fb3137e3e9e315cf9269dac676b3ecc110f9edc63838ccb4ba0

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download shapes.svg
PNGIntentionally invalid

Invalid PNG

Text bytes with a .png filename and no PNG signature.

broken.png · 10 B · text/plain

Test: Test handling of invalid png.
Expected: An image decoder should reject the file.

Checksum and details

SHA-256: 91a3072fe20c0552bfa0c3c90362af3d455a5fd4b9ec5c0c3035ade2b2258d70

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download broken.png
JPEGEdge case

JPEG with PNG extension

Valid JPEG bytes saved with a .png filename.

jpeg-with-png-extension.png · 1.1 KB · image/jpeg

Test: Test handling of jpeg with png extension.
Expected: Content sniffing identifies JPEG despite the .png filename.

Checksum and details

SHA-256: 8e69dce706f86c398641d219b95310ea764e020e8b0b584da196f73ee941bc4d

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download jpeg-with-png-extension.png
DOCXValid

Basic DOCX

A Word document with a heading and paragraph.

basic.docx · 35.8 KB · application/vnd.openxmlformats-officedocument.wordprocessingml.document

Test: Test handling of basic docx.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 22e551ed89b20d06e2430148aa6782b087b41a6b44ca50edc9ca1b0c7868c4d2

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.docx
XLSXValid

Spreadsheet with formula

XLSX with a data row and a multiplication formula; recalculation depends on the spreadsheet app.

formula.xlsx · 4.8 KB · application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Test: Check workbook and formula import.
Expected: The sheet contains data and the formula =B2*C2; the reader may need to recalculate.

Checksum and details

SHA-256: bc92abfcd8b2e57925f03c281f438d1973e85c7a478df76f769c29d52bd5e603

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download formula.xlsx
PPTXValid

Basic PPTX

A one-slide synthetic presentation.

basic.pptx · 27.6 KB · application/vnd.openxmlformats-officedocument.presentationml.presentation

Test: Test handling of basic pptx.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: bed3eb407399435b383926fe5b590096887350aa17019104c65cc05030566dd4

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.pptx
TXTValid

Plain text document

A short UTF-8 text file.

plain.txt · 44 B · text/plain

Test: Test handling of plain text document.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 95d4f624f016f78b67810d3dd2cf09388a2413b310267b31ea02ac63eced81cf

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download plain.txt
RTFValid

Basic RTF

An RTF document with a bold word.

basic.rtf · 41 B · application/rtf

Test: Test handling of basic rtf.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 02d73c01f34d5144ad99f6a9ed2c519a42fb441bd3ceef8e35217e30fafcc265

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download basic.rtf
ZIPValid

ZIP with files

An archive containing a text file and CSV.

multiple-files.zip · 256 B · application/zip

Test: Test handling of zip with files.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 9e5ca0333d7d2ca1d71f4084b9ae3bd42a2c03221777be4fcbe81f1e3fabcbfa

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download multiple-files.zip
ZIPEdge case

Empty ZIP

A valid ZIP archive with no entries.

empty.zip · 22 B · application/zip

Test: Check empty archive handling.
Expected: An archive reader should open a valid ZIP with zero entries.

Checksum and details

SHA-256: 8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download empty.zip
ZIPValid

ZIP with nested directories

An archive containing a file in nested directories.

nested-directories.zip · 173 B · application/zip

Test: Check archive path handling.
Expected: A compatible archive reader should list folder/subfolder/note.txt.

Checksum and details

SHA-256: e86533f2504f888e8df68e98d37bff386df3b399634bf50c439b9d728fbf3468

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download nested-directories.zip
ZIPEdge case

Nested ZIP

A ZIP containing a small ZIP archive.

nested-zip.zip · 259 B · application/zip

Test: Check nested archive handling without automatic extraction.
Expected: An archive reader should list inner.zip; nested extraction depends on application policy.

Checksum and details

SHA-256: 3e67bfefa796d479f14dc63549537a135b07e8f0373c31cacd809ae8575ffbe6

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download nested-zip.zip
ZIPIntentionally invalid

Truncated ZIP

A ZIP cut off before its central directory.

truncated.zip · 30 B · application/zip

Test: Test handling of truncated zip.
Expected: An archive reader should reject the incomplete archive.

Checksum and details

SHA-256: e41d9c9c540f9253883e2c9abbd993b2031e6870c6850afe79807cd12c4e1dd3

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download truncated.zip
JSONValid

Valid JSON

A JSON object containing an array.

valid.json · 39 B · application/json

Test: Test handling of valid json.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 32acacbb8b24f74306ff88e7dd1da5912120e25ff0aee8d0f9662047335d6ed4

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download valid.json
JSONIntentionally invalid

Invalid JSON

JSON with a trailing comma in an array.

invalid.json · 19 B · application/json

Test: Test handling of invalid json.
Expected: A JSON parser should reject the trailing comma.

Checksum and details

SHA-256: e4a9047cf337ff636fa593370d7551f0c375e8d1566ecded328dd063cd0668eb

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download invalid.json
XMLValid

Valid XML

Well-formed XML with two records.

valid.xml · 103 B · application/xml

Test: Test handling of valid xml.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 2c9431dd7c47922a569f4860910ae2f5c959ba25f51c731ae48dc73bebf36346

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download valid.xml
XMLIntentionally invalid

Malformed XML

XML with a missing closing item tag.

malformed.xml · 27 B · application/xml

Test: Test handling of malformed xml.
Expected: An XML parser should reject the mismatched tags.

Checksum and details

SHA-256: b10d3d67d6bbd2c66d02162a5271a019e42006412ea235f633012ed00df8156e

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download malformed.xml
CSVValid

CSV with quoted delimiters

CSV with a comma and escaped quotes inside a quoted field.

quoted.csv · 54 B · text/csv

Test: Check quoted delimiters and escaped quotes.
Expected: The first data row has two fields; its second value contains a comma and quotes.

Checksum and details

SHA-256: 877beec3f2b3737345f3008fcf351e6579b4e84d9c20159a0ad28f3fe23a4d3b

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download quoted.csv
TSVValid

Simple TSV

Tab-separated data with a header.

simple.tsv · 26 B · text/tab-separated-values

Test: Test handling of simple tsv.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 9125be8b30dbd77faa73b1ec228812aac0b95a6e799af47a7f6e220ed31d95ee

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download simple.tsv
YAMLValid

Simple YAML

A simple YAML mapping with a sequence.

simple.yaml · 40 B · application/yaml

Test: Test handling of simple yaml.
Expected: The file should parse or open in a compatible application.

Checksum and details

SHA-256: 1340227d1bb62d69dd709bfd0cf7487ee2edd27df07d0787d9f31d1665842937

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download simple.yaml
TXTValid

Unicode text

UTF-8 text containing accented, CJK, Arabic, and emoji characters.

unicode.txt · 58 B · text/plain

Test: Check UTF-8 text handling.
Expected: A UTF-8 reader should preserve accented, CJK, Arabic, and emoji characters.

Checksum and details

SHA-256: 99fe867f6b785b16f1a18a9fa1cdb66ac4735c3fe6d4d7df7ff233d612a4f211

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download unicode.txt
TXTEdge case

Empty text file

A zero-byte text file.

empty.txt · 0 B · text/plain

Test: Check zero-byte file handling.
Expected: The file exists and contains zero bytes; acceptance depends on application rules.

Checksum and details

SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download empty.txt
JSONIntentionally invalid

Empty JSON file

A zero-byte file with a JSON extension; empty content is not valid JSON.

empty.json · 0 B · application/json

Test: Test handling of empty json file.
Expected: A JSON parser should reject empty input.

Checksum and details

SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download empty.json
WAVValid

Short WAV tone

A half-second 440 Hz synthetic mono WAV.

tone.wav · 7.9 KB · audio/wav

Test: Check short uncompressed audio playback.
Expected: A compatible reader should decode a half-second mono 440 Hz tone.

Checksum and details

SHA-256: 9cc8f1ee60f213be7ed406f2fb00c939ac94001b3a4641c04741a4e360631595

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download tone.wav
MP3Valid

Short MP3 tone

A half-second synthetic MP3 tone.

tone.mp3 · 692 B · audio/mpeg

Test: Check compressed audio playback.
Expected: A compatible MP3 decoder should play a short synthetic tone.

Checksum and details

SHA-256: 3af0ddf9b0356415f0458b71084d83ecc12b02d2612a8612e2bfba108740a07a

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download tone.mp3
MP4Valid

Short silent MP4

A one-second silent blue video, encoded as H.264 MP4.

blue.mp4 · 1.7 KB · video/mp4

Test: Check silent video playback.
Expected: A compatible H.264 MP4 player should show a short blue video with no audio track.

Checksum and details

SHA-256: fd85fd894aab8eb97f255be9e6bbef08a9f03fe988e585d8c4f9f532901a65e6

Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.

Download blue.mp4

How to use these samples

Start with a valid file, then try edge cases and intentionally invalid examples to verify rejection and error messages. Compare file size and SHA-256 to confirm the fixture was transferred unchanged. These files contain synthetic content and are not security exploit payloads.

For related utilities, use PDF tools, image tools, or data converters.

Planned

Kreativ QA File Test Kit PRO

A possible future collection of extended test cases and checklists. The free files on this page are available now; no purchase is available yet.

About the planned kit