DELAPARRA
Index
Color
NL
Category: Core glossary

YAML (YAML Ain't Markup Language)

Explained by Updated

What is YAML (YAML Ain't Markup Language)?

YAML (YAML Ain't Markup Language): A human-readable data serialisation format widely used for configuration files (Docker Compose, Kubernetes, GitHub Actions, Ansible). Whitespace-significant — indentation defines structure. Pronounced "YAM-ul". YAML is a human-friendly format for configuration and data. Docker Compose, Kubernetes, GitHub Actions, GitLab CI and Ansible all use it. Indentation defines the structure, and it is pronounced "YAM-ul".

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about YAML (YAML Ain't Markup Language)

How is YAML (YAML Ain't Markup Language) used in practice?

It is easier to read than JSON for people, with less punctuation and support for comments. The same indentation that makes it readable also makes it fragile: one wrong space changes the meaning or breaks the file.

What should you keep in mind with YAML (YAML Ain't Markup Language)?

A few classic traps are worth knowing. Unquoted values like no, yes and on may be read as booleans, and values like 22:22 or version numbers like 1.10 may be read as numbers. Quote strings when in doubt. Use an editor with YAML support and a schema for the tool you configure, and validate files in CI, so mistakes are caught before a deploy fails.

At a glance

CategoryCore glossary
Explained by
Updated

More Core glossary terms

All terms starting with Y

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.