PowerTraces

YAML ⇄ JSON converter

Convert YAML to JSON and JSON to YAML, with errors that point to the problem.

How it works

YAML is a superset of JSON, so any JSON converts to YAML. Comments in YAML are dropped when converting to JSON, because JSON has none.

Questions

Why does my YAML fail?

Indentation is usually the cause: YAML uses spaces, never tabs, and the levels must line up.

Will keys stay in order?

Yes, keys keep the order they were written in.

Related tools

All tools