Codes & text

YAML to JSON Converter

Convert YAML to formatted JSON in your browser, with clear error messages. Supports YAML 1.2, anchors and multiple documents; switch direction for JSON to YAML.

How to use YAML to JSON Converter

  1. Paste YAML Config files, Kubernetes or GitHub Actions.
  2. Pick the indent 2 or 4 spaces.
  3. Copy or download JSON Errors show the line where parsing stopped.

YAML to JSON Converter FAQ

Do I need an account?
No. Open the page and use it.
Is what I enter sent anywhere?
This tool runs in this browser tab and does not ask for an account. What you enter is not sent anywhere.
Does it cost anything?
No. It is free and open source.
Can I use it on my phone?
Yes, in a current mobile browser. Tools that need a physical keyboard or mouse are easier on a computer.

All free tools