Configuration sample files

YAML, TOML and INI files for testing configuration loaders, linters and converters.

Formats in this category

FormatWhat it isSizes
YAML sample files.yaml application/yamlHuman-friendly data serialisation that relies on indentation. The format of most infrastructure configuration.1 KB to 1 MB
TOML sample files.toml application/tomlA configuration format with explicit types and sections, used by Rust, Python and many tools.1 KB to 1 MB
INI sample files.ini text/plainSimple key = value settings grouped into sections. Old, informal and still everywhere.1 KB to 1 MB
JSON sample files.json application/jsonThe standard data format of web APIs: objects, arrays, strings, numbers, booleans and null.1 KB to 10 MB
XML sample files.xml application/xmlStructured, self-describing documents built from nested elements and attributes.1 KB to 10 MB

About these files

Configuration formats look simple and hide many edge cases: implicit typing in YAML, table arrays in TOML and the complete absence of a standard for INI.

These samples use the main features of each format with ordinary, predictable values, so they make a sound baseline before you test the awkward cases.

Ready-made samples

Hand-designed files with realistic content or a specific edge case.

Curated sample files: Configuration
FileFormatSizeContentsDownload
Sample Docker Compose YAMLsample-docker-compose.yaml YAML 744 B744 bytes Features: Anchors and aliases, sequences, nested mappings, quoted strings, comments Download YAML

Popular downloads by size

Jump straight to a file. Every size is exact to the byte.

Or browse every format at one size: 1 KB, 5 KB, 10 KB, 25 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB.

What to test

Related categories

Configuration files: questions

Why would anyone need a 1 MB configuration file?
To find out what a tool does when configuration grows: generated Kubernetes manifests and translation files reach that size in practice.

Engineering test checklist for configuration sample files

When designing automated integration suites for configuration pipelines, QA engineers must validate three distinct layers: binary container framing, metadata extraction accuracy, and resource-bounded parsing under concurrent load.

Verification layerTarget assertion for configurationRecommended test fixture or tool
1. Signature & MIME checkConfirm backend inspects leading magic bytes rather than trusting the client Content-Type header for configuration uploadsMagic-Byte File Inspector & Spoofed-Extension Fixtures
2. Boundary byte sizesTest minimum valid header size, 1 MB default proxy limit, 10 MB application ceiling, and 50 MB+ streaming transfersSize Buckets (1 KB–1 GB) & In-Browser Generator
3. Corrupt payload handlingVerify that truncated streams or malformed headers in configuration return HTTP 400/422 instead of crashing the workerBroken-File QA Suite & errors-400.json
4. Checksum reproducibilityAssert that round-trip storage in cloud object storage preserves the exact byte length and SHA-256 digestSHA-256 Checksum Directory

Common failure points in configuration ingestion workflows