A simple object
Paste a small example into the tool and change one part at a time.
Converts to two clean YAML lines - name: Coddy and free: true.
JSONとYAMLを相互変換、即時バリデーション付き。
最終更新
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
JSON and YAML are two ways of writing the same structured data - objects, arrays, strings, numbers, and booleans. JSON uses braces and brackets and is what most APIs speak; YAML uses indentation and is the go-to for configuration files (Docker Compose, Kubernetes, GitHub Actions, CI pipelines). A JSON to YAML converter translates losslessly between the two.
This tool goes both ways. In JSON → YAML mode it parses your JSON and re-emits it as indented YAML. In YAML → JSON mode it parses YAML and pretty-prints the equivalent JSON. If your input has a syntax error, you get the parser's exact message instead of a silent failure.
Everything runs locally in your browser - your configuration data, secrets, and payloads are never uploaded to a server.
yes, no, and 12:30 may be interpreted specially - quote them when in doubt.Choose JSON → YAML to convert JSON into YAML, or YAML → JSON for the reverse.
Drop your JSON or YAML into the left panel. Conversion happens instantly as you type.
If the input is malformed, the right panel shows the exact parser error and line so you can fix it fast.
Copy the result with one click, or hit swap to convert it straight back the other way.
Paste a small example into the tool and change one part at a time.
Converts to two clean YAML lines - name: Coddy and free: true.
Copy the original value, run the tool, then compare the result.
Arrays become YAML lists with - bullets under the key.
# comments, since JSON has none.# comments are dropped when you convert YAML to JSON and back.