FileHint

.yaml

Use caution

YAML Ain't Markup Language

A human-friendly data format. Ubiquitous in CI/CD, Kubernetes, Docker Compose, and modern configuration files.

MIME types

  • application/yaml
  • text/yaml

Category

data

Aliases

.yml

What opens this file

  • VS Code
  • yq
  • yamllint

How to open by OS

Windows

  • VS Code, yq for Windows.

Mac

  • VS Code, yq via Homebrew.

Linux

  • yq, yamllint.

Ios

  • Working Copy.

Android

  • Acode.

Safety notes

  • PyYAML's yaml.load can instantiate arbitrary objects — an RCE class bug. Always use yaml.safe_load.
  • Merge keys (<<:) can silently override expected values.

Common mistakes

  • Mixing tabs and spaces breaks parsing — stick to two-space indents.
  • YAML 1.1 treats no, off, yes, on as booleans. Use YAML 1.2-compliant parsers to avoid surprises.

Related extensions

References