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, 500 KB, 1 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.