Sample YAML File — Download a Config-Style YAML Test File
YAML Ain't Markup Language · .yaml, .yml · MIME type application/yaml
Download a sample YAML file that looks like a real application config: nested maps, a features list, an inline (flow-style) map, booleans, numbers, quoted strings and a list of order records. It parses cleanly with PyYAML, js-yaml, Go's yaml.v3 and every YAML 1.2 parser.
YAML is the configuration language of Kubernetes, GitHub Actions, Docker Compose and most CI systems, and its whitespace sensitivity makes it a good fixture for editors, validators and config-management tools.
Download sample YAML files
| File | Details | Size | Download |
|---|---|---|---|
sample-config.yaml | — | 3 KB |
Need one of every data format? Download the data sample pack (202 KB, one small file of every data format (17 files)).
Use these files from the command line or CI
Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.
# Download one file curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/data/yaml/sample-config.yaml # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-config.yaml # Machine-readable index of every sample file curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="yaml")'
YAML format at a glance
| Full name | YAML Ain't Markup Language |
|---|---|
| Extensions | .yaml, .yml |
| MIME type | application/yaml |
| Standard | YAML 1.2 |
| Contents | Maps, sequences, flow-style map, booleans, strings, numbers |
| Encoding | UTF-8 |
What people test with sample YAML files
- Config validation and schema tools
- YAML → JSON conversion
- Editor syntax-highlighting and formatting tests
Frequently asked questions
.yaml or .yml?
The YAML project recommends .yaml; .yml persists from the DOS 8.3 era and is used by Docker Compose and many CI systems. Parsers do not care — accept both.
Are these YAML files safe to download?
Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.
Can I use the sample YAML files commercially?
Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.
Can I hotlink these files or use them in CI?
Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).
Related sample files
Testing a file pipeline? We build them.
Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.
See how we can help