Skip to content
GigAI Tools
Definition

What is YAML?

A plain-English definition, and the tools that work with it.

Definition

YAML is a human-friendly data format that uses indentation instead of brackets, making it easy to read and write. It's the go-to for configuration files (CI pipelines, Docker Compose, Kubernetes) where clarity matters more than compactness.

  • YAML relies on indentation for structure, so consistent spaces (never tabs) are essential: mis-indentation is the top error.
  • It's a superset of JSON: any JSON is valid YAML, but YAML adds comments and cleaner syntax.
  • Great for config humans edit by hand. Less suited to high-volume machine data exchange, where JSON is faster to parse.

Frequently asked questions

Try YAML Formatter

Free, private and instant. Everything runs in your browser.