Skip to tool

Categories

File formats / 11 formats, every pair

YAML to JSON converter

Turn YAML into JSON — an array of objects, one per row — in this browser tab. Paste your YAML, copy the JSON: the quoting and escaping JSON needs are applied for you.

On-device prototype

YAML to JSON, worked out

3 rows and 4 columns: 12 lines of YAML become 20 lines of JSON.

YAML in

- product: Desk lamp
  region: EU
  units: 128
  unit price: 24.50
- product: Chair
  region: R&D
  units: 64
  unit price: 98.00
- product: Monitor
  region: APAC
  units: 32
  unit price: 249.99

JSON out

[
  {
    "product": "Desk lamp",
    "region": "EU",
    "units": "128",
    "unit price": "24.50"
  },
  {
    "product": "Chair",
    "region": "R&D",
    "units": "64",
    "unit price": "98.00"
  },
  {
    "product": "Monitor",
    "region": "APAC",
    "units": "32",
    "unit price": "249.99"
  }
]

JSON result

[
  {
    "product": "Desk lamp",
    "region": "EU",
    "units": "128",
    "unit price": "24.50"
  },
  {
    "product": "Chair",
    "region": "R&D",
    "units": "64",
    "unit price": "98.00"
  },
  {
    "product": "Monitor",
    "region": "APAC",
    "units": "32",
    "unit price": "249.99"
  }
]

Conversions next to this one

Chosen from where these tools sit in the catalogue — the same workbench, the same category, the same words. Nothing here measures what you or anyone else opened.