Free, no signup

JSON to YAML: convert JSON in your browser

Paste JSON or drop a .json file and get clean YAML as you type: two spaces a level, a multi-line string as a | block, and every digit of a long number kept. An error in the JSON gets its line and column. 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 JSON to YAML

  1. Paste your JSON in the box, or press Choose a JSON file.
  2. Read the YAML under Text, or check the tree.
  3. Press Download for the .yaml, or Copy to paste it into your config.

Will the YAML read back as the same data?

Yes. A string that YAML would read as a number or true/false, such as "123" or "true", is quoted, so converting the YAML back to JSON gives your original values.

How are multi-line strings written?

As a | block: the string's lines under its key, one indent in, so a long message or a script reads as written.

Is my JSON uploaded?

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

Guides

See all guides