YAML ↔ JSON converter
Paste YAML or JSON and convert between formats live — with indent options, flow style control, and parse errors that point to the line.
Your data never leaves the browser — no upload, no server.
Direction
Options
JSON indent
YAML flow level
Input
Output
Parse error
Line , column
Gotchas
About this tool
YAML and JSON both represent structured data, but YAML is more readable for humans while JSON is the lingua franca of web APIs. This converter runs entirely in your browser using js-yaml.
Gotchas: YAML has version quirks. In YAML 1.1, unquotedno and yes become booleans — the famous "Norway problem." js-yaml follows YAML 1.2 and treats them as strings, but other parsers may not. Octal-looking values like 010 and date strings like 2024-01-15 can also surprise you across parsers — quote values when in doubt.