YAML / JSON
Convert YAML ↔ JSON
YAML / JSON: Convert YAML ↔ JSON. A free, browser-based tool from DevToolbox that runs entirely on your own device: no upload, no account, no tracking.
About the YAML / JSON
Convert YAML to JSON to see exactly what a configuration file resolves to, which is usually where a puzzling deployment turns out to have been an indentation problem.
Conversion is a two-step trip: your input is decoded from the source format into a plain in-memory value, then re-encoded into the target format. Round-tripping a value through both directions returns what you started with, apart from formatting that the target format cannot express.
What you can do with it
- YAML to JSON converter
- JSON to YAML
- Convert YAML online
- YAML JSON converter
- YAML parser
How to use it
- Paste your input into the input pane.
- Pick the direction you want: encode or decode, source format or target format.
- The converted result appears immediately in the output pane.
- Use Copy to take the result, or pipe it into another tool from the workspace.
Questions
- Which parts of YAML are supported?
- Mappings, sequences and scalars: the subset that covers ordinary configuration files. Anchors, aliases, custom tags and flow style are not converted, and the parser will tell you rather than guessing.
- Is my data uploaded anywhere?
- No. The tool is JavaScript that runs in the tab you already have open, and DevToolbox has no backend to send anything to. You can open the network tab and watch: after the page and its script load, nothing is sent while you work.
Related tools
The YAML / JSON sits in Encoders & Converters, one of the 90 tools on DevToolbox.