YAML

Definition

Yet Another Markup Language - human-readable data serialization standard used for configuration files and data exchange between applications.

Use Cases

Frequently Asked Questions

What's the difference between YAML and JSON?
Both YAML and JSON represent structured data. JSON is stricter and commonly used for APIs, while YAML is designed to be more human-readable for configuration files. YAML supports comments and often uses indentation instead of braces and quotes, but indentation mistakes can cause errors.
When should I use YAML?
Use YAML when humans will frequently read or edit configuration, such as Kubernetes manifests, CI/CD pipelines, or application settings. If you need a strict, widely supported format for machine-to-machine communication (like REST APIs), JSON is often a better fit.
How much does YAML cost?
YAML is a free, open standard. There’s no licensing cost to use YAML itself. Costs come from the tools or platforms that consume YAML (for example, CI/CD minutes, Kubernetes cluster costs, or managed services where YAML is used to configure deployments).

Category: software

Difficulty: basic

Related Terms

See Also