YAML and JSON converter

Conversion happens in your browser. util.work does not see your YAML or JSON.
Direction

YAML input

JSON output

What this YAML tool does

This page converts between YAML and JSON in your browser. Paste a YAML document to see it as JSON, or paste JSON to see it as YAML.

When YAML is convenient

YAML is widely used for configuration: Kubernetes manifests, Helm charts, GitHub Actions workflows, and many CI systems. YAML is often more comfortable to write by hand than JSON because of indentation-based syntax and comments.

When JSON is convenient

JSON is universal in APIs and data interchange. Converting YAML to JSON is often the first step when piping a config into a tool or editor that expects JSON.