Sample files for software development

General-purpose fixtures for building, debugging and demonstrating software that reads or writes files.

Any program that touches files needs example files during development: to try an idea, to reproduce a bug report, to write a unit test, or to show a feature to a colleague.

Having a consistent set to hand, with documented structure and exact sizes, removes a small but recurring obstacle. The same fictional records appear across CSV, JSON, XML, SQL and YAML, which also makes the set useful for building and checking converters.

Recommended files

FileSizeWhy this oneDownload
Sample customers SQL script (100 rows)sample-customers.sql19.3 KB19,787 bytesSeed data for a local databaseDownload SQL
Sample customers CSV (100 rows)sample-customers.csv7.84 KB8,028 bytesClean tabular inputDownload CSV
10 KB JSON samplesample-json-10kb.json10 KB10,240 bytesSmall structured fixtureDownload JSON
1 KB YAML samplesample-yaml-1kb.yaml1 KB1,024 bytesConfiguration fixtureDownload YAML
100 KB LOG samplesample-log-100kb.log100 KB102,400 bytesLog processing inputDownload LOG

Checklist

  1. Pick the smallest file that shows the behaviour

    Small inputs make debugging faster and failing tests easier to read.

  2. Keep fixtures with the code

    Commit them under a fixtures folder so everyone on the team tests against the same bytes.

  3. Seed a local database

    Use a SQL sample to create a table with realistic rows in seconds.

  4. Test both directions

    If your program writes a format as well as reading it, read a sample, write it back out and compare.

Guides

Related use cases

Frequently asked questions

Is there a licence I need to include?
No attribution or licence text is required. The sample files may be used, modified and redistributed freely.

Test plan architecture and assertion matrix for sample files for software development

A thorough software development workflow separates positive functional verification (confirming well-formed inputs succeed and preserve their SHA-256 checksum) from negative boundary verification (confirming oversized, truncated, or mislabelled inputs fail with structured diagnostic codes).

Test case IDScenario in software developmentInput fixtureExpected system outcome
TC-SOFT-01Baseline small payload acceptance1 KB – 100 KB valid fixture from FormatsHTTP 200/201; stored byte count and SHA-256 match /checksums.txt
TC-SOFT-02Gateway / reverse-proxy ceiling check1 MB, 10 MB, and 20 MB sized fixtures from SizesExact threshold enforced; oversize payload returns HTTP 413 Payload Too Large
TC-SOFT-03Extension vs. magic-byte mismatchwrong-extension-png-as-jpg.jpg from Broken FilesValidator detects 89 50 4E 47 PNG header and rejects spoofed .jpg extension
TC-SOFT-04Truncated stream / unexpected EOFTruncated PDF or JPEG from Broken FilesParser catches missing trailer/EOI marker and returns HTTP 422 without leaking stack traces

Automating software development in CI/CD pipelines

To keep automated runs deterministic and fast, commit your small sub-100 KB fixtures directly to your repository and synthesize larger 10 MB to 1 GB stress fixtures on demand using our in-browser generator or the reproducible local commands on Methodology. When testing tabular or relational data pipelines during software development, pair binary container checks with our 100-row and 1,000-row synthetic datasets so you can assert exact row counts and column aggregations after ingestion.