Skip to content

YAML → JSON

Convert YAML into JSON.

Runs locally in your browser. No signup.

How it works

  1. 1 Paste your input.
  2. 2 Pick options if needed.
  3. 3 Copy the output.

YAML is parsed strictly; tabs can cause errors.

FAQ

Are YAML comments preserved?

No. JSON does not support comments, so they are lost during conversion.

Does it handle multi-line strings?

Yes. YAML multi-line strings are converted to JSON strings with appropriate escaping.

Is it case-sensitive?

Yes. Both YAML keys and JSON keys are case-sensitive.

Does this tool store my input?

No. Your input is processed locally in your browser and is not uploaded or stored.

Related tools