Free · no signup · browser-local
YAML to JSON and JSON to YAML Converter
Convert JSON-compatible YAML and JSON in your browser. Check aliases, nesting and unsupported values before copying or downloading the converted document.
Result · JSON
Convert a document to preview its complete output.
Getting started
Choose direction, paste or load a document, then convert and download the actual JSON or YAML.
Before you use the result
Custom tags, cycles, complex mapping keys and nonfinite numbers are rejected. Comments and YAML formatting do not survive JSON conversion. Numbers use JavaScript precision.
Try an example
Convert name: Ada active: true items: [1, 2] to a JSON object and back.
How it works
Uses the yaml package with YAML 1.2 core schema, no custom tags, unique string keys, a 50-level depth cap, bounded aliases and expanded-node validation.
Frequently asked questions
Convert JSON-compatible YAML and JSON locally with bounded aliases and nesting.
How do I use YAML ↔ JSON Converter?
Choose direction, paste or load a document, then convert and download the actual JSON or YAML.
Does this tool upload my data?
Inputs and files are processed in your browser. Page-view analytics do not contain your tool input.
What should I check before using the result?
Custom tags, cycles, complex mapping keys and nonfinite numbers are rejected. Comments and YAML formatting do not survive JSON conversion. Numbers use JavaScript precision.