EN
EnglishEspañolPortuguêsFrançaisDeutschItalianoРусский中文
Get a website

Convert YAML to JSON

Convert YAML files to JSON online for free. No sign-up, no ads, and your file is deleted right after.

Your config speaks YAML. Your API only listens to JSON.

Same Data, Fewer Opinions About Whitespace

You need this when a YAML config has to feed something that only reads JSON: an API payload, a JavaScript app, a tool that chokes on indentation. YAML is a superset of JSON in practice, so the data survives. Mappings become objects, sequences become arrays, and unquoted values like 42 or true become real numbers and booleans.

What you lose: comments vanish, since JSON has no place for them. Anchors and aliases get expanded into duplicated data. Watch for surprises too. Older YAML parsers read "no" as false and "010" as octal, so quote anything that must stay a string.

What are YAML and JSON?

YAML: readable structured data often used for configuration

JSON: structured data used by most web applications

How it works

  1. Choose your YAML file.
  2. Check that JSON is selected and press convert.
  3. Download your new file. We delete both files automatically.

Questions

Will my YAML comments survive the conversion?

No. JSON has no comment syntax, so every comment is dropped. If the notes matter, keep the original YAML file as your source of truth.

Why did a value like "yes" turn into true?

Some YAML parsers, especially those following YAML 1.1, treat unquoted words like yes, no, on and off as booleans. Wrap such values in quotes in your YAML to keep them as strings.

Is it free to convert YAML to JSON?

Yes. Converting YAML to JSON on Kevora is free, with no sign-up and no ads.

What happens to my file?

It is only used to create your conversion. We delete it as soon as the result is delivered.

Made by Kevora

We built this. Imagine your website.

These tools are free because they show what we can do. We design websites with real character for businesses that want more customers, from $30 for the first year.

Visit Kevora