YAML ↔ JSON

Convert between YAML and JSON formats with a single click.

100% Free Forever
Input
Output
Array item under non-array

Free YAML to JSON Converter (and back)

Convert between YAML and JSON instantly. Essential for working with Kubernetes, GitHub Actions, Docker Compose and config files.

How to use this tool

  1. 1

    Paste YAML or JSON

    Add the source data.

  2. 2

    Convert

    Click the arrow to switch direction.

  3. 3

    Copy the result

    Use the converted format.

Pro tips

  • YAML is more human-readable; JSON is universally supported by tools.

Frequently asked questions

Does it support comments?

YAML comments are preserved when displayed, but JSON has no comment syntax.

Related Tools

We use minimal cookies for site preferences, aggregated analytics and advertising. Your files are always processed in your browser and never uploaded. Privacy Policy