Skip to content

YAML to JSON Converter

Converts YAML into valid JSON and detects syntax errors.

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

Workspace · YAML to JSON Converter

Runs in your browser · 100% local
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

Paste the code, URL or data you want to process.

02

Select the format or action available in the tool.

03

Check the result and copy it into your editor or configuration file.

Examples

Examples

Configuration file

Paste a Docker or GitHub Actions YAML file and get the corresponding JSON.

Nested lists

The structure is stored in arrays and objects.

Reference guide

What you need to know

The conversion uses a YAML parser and serialises the result as JSON. Special YAML values are converted to their equivalent JSON types where possible.

Frequently asked questions

Frequently Asked Questions

You can convert one document at a time; separate the documents if you need to process them individually.

Related tools

Other tools that can help with similar tasks.

More at Web development→
YAML to JSON Converter · Free online tool · ByTooly