ClickZM
Developer Tools

YAML to JSON

To convert YAML to JSON, paste YAML (Kubernetes manifests, Docker Compose, GitHub Actions) and get formatted JSON. Multi-document files separated by --- become an array, and YAML errors show the line number.

Read the guide

  • Free
  • No signup
  • Runs in your browser
Loading tool…

How to use YAML to JSON

  1. 1Type or paste your input into the YAML to JSON.
  2. 2Choose any options you need.
  3. 3See the result update instantly.
  4. 4Copy the result or download it.

YAML to JSON: questions people ask

Are anchors and aliases supported?

Yes. &anchors and *aliases are resolved into the JSON.

Why did 'no' become false?

YAML 1.2 (used here) only treats true/false as booleans, but some YAML 1.1 parsers also convert yes/no. Quote values to be safe.

Is my data uploaded when I use the YAML to JSON?

No. The YAML to JSON runs entirely in your web browser, so your text and numbers stay on your device and work even on a slow connection.

Does the YAML to JSON work on iPhone, Android and Mac?

Yes. The YAML to JSON runs in any modern browser (Safari, Chrome, Edge or Firefox) on iPhone, iPad, Android phones, Mac, Windows and Chromebook. There is no app to install.

Is the YAML to JSON free?

Yes. The YAML to JSON is free with no signup, no watermark and no daily limit.

Sponsored

A recommended offer

Opens in a new tab. It is separate from the calculators.

Continue

Advertisement