Skip to content

Convert YAML to JSON

Converts YAML into valid JSON with syntax error detection.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Convert YAML to JSON

Runs in your browser · 100% local
Cargando herramienta…
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Upload a .yaml/.yml file or paste the YAML.

02

The tool analyses it and displays an error if the syntax is invalid.

03

Download the generated JSON in a human-readable format.

Examples

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.

Reference guide

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

Frequently Asked Questions

js-yaml can interpret some dates as Date objects. In JSON, they are serialised as ISO strings.

Related tools

Other tools that can help with similar tasks.

More at Data→
Convert YAML to JSON online · ByTooly