Last updated: 8 November 2026
Downloading files from a website you have just found deserves some caution. This page explains exactly where our files come from, what is in them and how you can verify them yourself.
Where the files come from
Every sample file on SampleTestFiles is produced by our own generator. Nothing is uploaded by users, collected from the internet or converted from third-party documents. The generator writes each format directly from its published specification, using text and images that it creates itself.
Download bytes are assembled in your browser using static scripts, templates, seed clips and compressed fixture packs served by this site. Listed downloads up to 32 MiB use the published SHA-256 when the browser supports the required cryptography. Larger streamed downloads are not automatically hashed here; use the checksum command below after saving them. Custom-sized files and the test-data generator may have no published checksum.
What the files do not contain
- Code fixtures need inspection. JavaScript and SQL files contain code, and HTML or configuration files can be interpreted by other software. Read them before execution and use a disposable test environment. This library is not an antivirus scanner.
- No macros. The generated Office fixtures use .docx, .xlsx and .pptx containers and are not intended to contain VBA macros. A filename extension alone is not a security check.
- No active content. PDFs contain no JavaScript or attachments. One curated PDF has fillable form fields, which hold values and run nothing. SVG and HTML samples contain no scripts and load nothing from other sites.
- No tracking. Files contain no remote images, web beacons or links that report back when opened.
- No personal data. People, companies and addresses are invented. Email addresses use example.com, example.org and example.net, which are reserved for documentation. IP addresses in log samples come from ranges reserved for the same purpose.
- No copyrighted media. Images are a generated test card. Audio is a synthesised phrase. Video is a synthetic test pattern.
- No real secrets. The password-protected PDF exists to test how software handles encryption. Its password is printed on its page.
What the files do contain
Each download page lists the contents of that file: page counts, pixel dimensions, row counts, duration and so on, along with a short account of how the file was built.
To make a file land on an exact byte count, the generator sometimes adds a small amount of padding. It always uses a mechanism that the format provides for the purpose, for example a comment in a PDF or a JPEG, or the padding area of an ID3 tag. Where padding is used, the download page says how many bytes and where they are.
The binary (.bin) samples are pseudo-random bytes with no structure. They are intended as unstructured input data; do not treat an unfamiliar binary as an executable.
How files are checked
On 8 November 2026, a release check regenerated 101 fixtures: one smallest listed sample for each of 53 formats and all 48 curated fixtures. All 101 matched their declared byte count and SHA-256. This does not test every size or every browser.
Seventy selected fixtures were also checked with independent tools: Pillow image decoding, FFmpeg media decoding, Python JSON/XML/CSV/YAML/TOML readers, ZIP CRC checks and XML parsing, pypdf, or Node syntax checking as appropriate. The 66 valid fixtures passed their selected check; four intentionally damaged fixtures were rejected. An encrypted PDF was checked as a container, not fully decrypted.
These are bounded checks. They are not a full specification-conformance audit, a security certification or a guarantee that your application will accept a file. Test the exact sample and parser versions you intend to use.
Files that are damaged on purpose
A few curated files are invalid by design, because error handling needs testing too: a truncated PDF, a truncated JPG, a truncated Word document and a ZIP archive with a checksum error. Each is labelled as deliberately invalid on its page and in /files.json, where its valid field is false.
They are made by cutting short, or changing one byte of, a file our generator produced, so their content is the same harmless text and test-card imagery as everything else. The four damaged fixtures were rejected by the selected parsers in the release check above. Other software may repair damaged files or tolerate different errors, so record its actual response.
Verify a download yourself
Each download page shows the file's size in bytes and its SHA-256 checksum. After downloading, compute the checksum and compare.
On Linux:
sha256sum sample-pdf-1mb.pdfOn macOS:
shasum -a 256 sample-pdf-1mb.pdfOn Windows, in PowerShell:
Get-FileHash .\sample-pdf-1mb.pdf -Algorithm SHA256If the result matches the value on the page, the file you have is identical to the one we published. If it does not match, the download was incomplete or was altered on the way; delete it and try again.
A machine-readable list of every file with its size and checksum is available at /files.json.
Sensible precautions
- Use sample files in a test or development environment, as you would any test data.
- Scan downloads with your own security software as a matter of routine. If a tool flags one of our files, please let us know.
- Download only from this site. We cannot vouch for copies hosted elsewhere.
Advertisements
The site carries advertising, which is labelled as such and kept visually separate from download buttons. Our download buttons are green and name the file and its size. Nothing on this site will ask you to install software, a browser extension or a "download manager" in order to get a file.
What we can and cannot promise
The release checks above cover a sample of the library. Matching a published hash confirms the bytes, not their suitability or safety in your environment. No website can certify a download as risk-free for every system, so scan downloaded files with your own security tools before opening them, as you would with any file from the internet.
Reporting a security problem
If you find a security problem with the site or with a file, email contact@sjwebtechwork.com with the address of the page or file and a description of what you found. Please give us a reasonable time to fix it before making it public. The same contact is published in machine-readable form at /.well-known/security.txt.
Report a problem
If a file appears damaged, is flagged by security software or does not match its checksum, email contact@sjwebtechwork.com with the file name and what you observed. We will investigate and correct it.