Loona Automation logoLoona Developer Tools
Home › Data Converters

YAML to JSON Converter

In short: paste YAML — config files, workflows, front matter — and get strict JSON back, with numbers, booleans and nulls typed the way YAML means them.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

name: Ali
age: 30
tags:
  - dev
  - ops

Output:

{
  "name": "Ali",
  "age": 30,
  "tags": [
    "dev",
    "ops"
  ]
}

About this converter

Converting YAML to JSON is how config files get consumed by tools that only speak JSON — and how humans check what a YAML file really says, since JSON's explicit brackets settle every ambiguity of indentation. This converter implements the everyday YAML subset faithfully: block mappings and sequences by indentation, plain/single/double-quoted scalars, comments, numbers, booleans, null, and flow collections ([a, b] and {k: v}). The genuinely exotic corners — anchors/aliases, merge keys, tags and multi-document streams — are not silently faked; if your file uses them, pre-process with a full YAML tool. One classic trap it does handle: the country code NO and words like on/off, which YAML 1.1 parsers famously read as booleans.

Frequently Asked Questions

Which YAML features are not supported?

Anchors (&a) and aliases (*a), merge keys, custom tags and multi-document files. Everyday config YAML — including GitHub Actions and Kubernetes style — converts cleanly.

Why did my date become a string?

JSON has no date type, so timestamps are emitted as strings — exactly what JSON consumers expect.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.