Skip to content
PDFBoii

YAML to JSON

Convert a YAML file into JSON.

Free, with no account needed. It runs in your browser, so your file never leaves your device.

Select YAML file

or drop it here · up to 25 MB

About YAML to JSON

YAML to JSON converts a YAML file into JSON. It is handy when a tool or API needs JSON but your configuration is written in YAML.

Last reviewed

How to use it

  1. Select a .yaml or .yml file.
  2. Press Convert to JSON.
  3. Download the .json file.

When to use it

Good to know

Tips for a better result

Questions about YAML to JSON

Why did my comments disappear?
JSON has no comment syntax, so comments cannot be carried across. Keep your YAML as the source and generate the JSON from it.
Is it safe to convert a YAML file from someone else?
Yes. The file is read in safe mode, so it cannot run code.
How much does YAML to JSON cost?
YAML to JSON is free, and you don't need an account. It runs inside your browser, so it costs us nothing to run and there are no credits to spend.
Is my file kept after I use YAML to JSON?
Your file never leaves your device. YAML to JSON works inside your browser, so nothing is uploaded and there is nothing for us to keep.
Do I need an account to use YAML to JSON?
No. YAML to JSON works without an account or sign-up. Open the page, choose your file and download the result.
Does YAML to JSON work on a phone?
Yes. YAML to JSON runs in the browser on phones, tablets and computers, with nothing to install. A very large file can be slow on an older phone, because your own device does the work.
Is there a file size limit for YAML to JSON?
We set no upload limit, because nothing is uploaded: the limit is your device's memory. If your browser can't process a file, the page offers to process it on our servers instead. That uses credits and accepts files up to 25 MB.

Related tools