JSON ↔ YAML

Convert JSON to YAML and YAML to JSON with instant validation. Free, private and offline in your browser — files never leave your device.

Developer & security100% on deviceFree, no accountWorks offline

About this tool

Convert configuration between JSON and YAML with instant validation, so a misplaced colon or tab is caught before you paste it into a deployment file.

How it works

  1. Choose JSON → YAML or YAML → JSON.
  2. Paste your document, or load the sample to see the expected shape.
  3. Fix any parse error shown under the output, then copy or download the converted file.

Frequently asked questions

Is YAML parsed safely?

Yes. js-yaml runs with its default safe schema: no JavaScript types, functions or code execution, and the text never leaves the tab.

Why did my JSON turn into a YAML list?

JSON arrays and objects map directly to YAML sequences and mappings. Indentation is fixed at two spaces and very long lines are not wrapped.