An array of objects
Each object becomes a YAML list item with indented keys.
[{"name":"api","port":8080},{"name":"worker","port":8081}]Paste JSON. Invalid input produces an error and no YAML.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
Each object becomes a YAML list item with indented keys.
[{"name":"api","port":8080},{"name":"worker","port":8081}]A JSON \n is a real newline and is usually written as a block scalar.
{"banner":"Line one\nLine two"}Convert YAML configuration to readable or compact JSON in the browser. Comments are dropped, and parse errors include line and column when the parser reports them.
Convert a JSON object to TOML in the browser. Null values and mixed arrays are rejected, and invalid JSON produces no TOML.
Validate JSON, then pretty-print it with 2 or 4 spaces or minify it. Invalid JSON produces an error and leaves the output empty.