YAML to JSON

Convert YAML config files to JSON, with syntax errors reported with line numbers.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent

How to convert YAML to JSON

  1. Paste your YAML or open a file.
  2. Adjust the options if needed.
  3. Copy the JSON or download it as a file.

Frequently asked questions

Why does my YAML fail to convert?

The usual causes are tabs (YAML requires spaces) and inconsistent indentation. The error message shows the line to fix.

Is my data sent to a server?

No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.

Related tools

All Developer Tools →