TapTools
All tools

YAML to JSON

Developer Tools

Paste YAML and get formatted JSON instantly, with clear error messages.

YAML input

JSON output

What is the YAML to JSON Converter?

The YAML to JSON Converter turns YAML files such as Docker Compose, Kubernetes manifests, GitHub Actions workflows or app config into valid, formatted JSON as you type. Files with several documents separated by --- become a JSON array.

How to use this tool

  1. Paste your YAML into the left box.
  2. Pick 2 spaces, 4 spaces or minified output.
  3. Copy the JSON or download it as data.json.

Frequently Asked Questions

The tool shows the parser's error message so you can find and fix the problem line.

Yes. Anchors, aliases and merge keys are resolved into plain JSON values.

No. Everything runs in your browser, so nothing is uploaded to a server.