Convert YAML to JSON
Converts YAML into valid JSON with syntax error detection.
Workspace · Convert YAML to JSON
How to use it
Upload a .yaml/.yml file or paste the YAML.
The tool analyses it and displays an error if the syntax is invalid.
Download the generated JSON in a human-readable format.
Examples
API Configuration
Converts a YAML configuration file into JSON for an API.
Review
Convert a YAML file to JSON so you can examine it using your usual tools.
What you need to know
YAML 1.2 is supported in its standard form: maps, lists, scalars, anchors and text blocks. Custom tags or unusual constructs may not be supported. The resulting JSON is valid and can be converted back to YAML using the JSON to YAML tool.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Convert JSON to YAML
Converts a JSON file or text into YAML with two-space indentation.
JSON formatter and validator
Formats, validates and organises JSON with error detection.
Convert XML to JSON
Converts XML to JSON whilst retaining attributes and repeated elements.
