Dev Tools

YAML Tools

Validate, format, and convert YAML, including JSON round-trips. Comments are usually dropped on re-serialize.

8 tools · 100% browser-based · No uploads · No signup

About these YAML tools

YAML tools validate, format, convert to and from JSON, diff, lint duplicate keys, sort keys, and flatten to .env style. YAML is the language of Kubernetes, Ansible, and GitHub Actions, and it is easy to break with tabs, implicit typing, and duplicate keys.

Norway problem (NO becoming boolean false), unquoted colons, and multiline strings are the usual footguns. Prefer JSON for APIs; use YAML when humans edit nested config and you understand the spec version your runner uses.

Tools in this category

How these tools run in your browser

Parsing uses a JavaScript YAML library in the browser. JSON conversion is a data-model round trip, so comments are dropped. Diff can be structural. .env flattening joins nested keys with a separator you choose. Linter rules are practical, not a full YAML 1.1 vs 1.2 certification.

Common Use Cases

  • Find the indent error Kubernetes refuses to apply
  • Convert a Helm values snippet to JSON for a script
  • Diff two manifests without caring about key order (or sort first)
  • Export nested keys to ENV for local docker compose
  • Catch duplicate keys that parsers silently overwrite

Common Mistakes

Tabs are not indent. Use spaces.
On/off, yes/no, and NO can become booleans depending on the parser.
Anchors and merge keys may not survive every convert path.
Sorting keys can change meaning if your tool relies on order (rare, but Helm hooks sometimes care about document order).

Frequently Asked Questions

Why did my country code become false?

YAML 1.1 implicitly types some words as booleans. Quote "NO" or use a 1.2 parser. The linter tries to warn on this class of issue.

Do you keep comments when formatting?

Most format paths re-serialize the data model and drop comments. Keep a copy if comments matter.

Is this safe for secrets in values.yaml?

Processing is local. Still prefer sealed-secrets or a vault rather than pasting production values into any web page.