⌕
Developer · free online tool

YAML to JSON.

Convert YAML into readable, valid JSON.

Your workspace◈ Processed on your device
Your result
Your result will appear here.

A little context.

YAML maps become JSON objects; sequences become arrays. Only the JSON-compatible core schema is accepted. YAML dates stay strings and custom tags are rejected.

Moving a configuration into an API request

Start with a small mapping, then check nested arrays before sending the converted document to another system. Compare quoted identifiers such as "001" with numeric values: their types affect how an API reads them.

Interpreting the result and avoiding mistakes

JSON cannot preserve YAML comments. This converter rejects anchors and custom tags, so expand reusable values before converting. A successful conversion proves the document can be represented as JSON; it does not prove the configuration is valid for your application.

A reproducible workspace example

These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.

YAML
name: Utilo
features:
  - fast
  - private

Calculated output

{
  "name": "Utilo",
  "features": [
    "fast",
    "private"
  ]
}

Quick reference

name: Utilo → {"name":"Utilo"}

How to use this tool

  1. Enter yaml in the workspace above.
  2. Select Run tool to process your input. Invalid values produce a message next to the form.
  3. Copy the result or download it as a file. Reset example restores the original input.

Keep a good thing going.

A few related tools for your next step.