Free, no signup

YAML to JSON: convert YAML in your browser

Paste YAML or drop a .yaml file and get JSON as you type. Anchors, aliases, and << merge keys are filled in, | blocks keep their line breaks and > blocks fold lines into spaces, as YAML defines, and a date stays as written. A broken line gets its line and column and what to fix. Free, no signup, and nothing leaves your device until you ask for a link.

or drop a file on this box

Press Get a link: the File to link page opens with the converted file in it, ready to upload for a link to send. Sign up free and publish, and the link keeps working.

Make my form page for free

Collect sign-ups, orders, or answers with a form on a page of your own. Describe it and Convika makes it. Free to start, no card.

How to convert YAML to JSON

  1. Paste your YAML in the box, or press Choose a YAML file.
  2. Check the tree, or fix the line an error names.
  3. Press Download for the .json, or Copy to paste it into your code.

What happens to anchors and aliases?

Each alias (*name) is replaced by the value its anchor (&name) holds, and a << merge key copies the anchor's keys into the mapping, as Docker Compose and CI files expect. JSON has no references, so the values are written out.

How are dates and multi-line strings converted?

A date such as 2026-11-23 stays that text in the JSON. A | block keeps its line breaks as \n, and a > block joins its lines with spaces.

Is my YAML uploaded?

No. Your browser converts it on this page, and nothing is sent to Convika. When you want a link to the JSON, Get a link takes the file to File to link.

Guides

See all guides