Skip to content
Tool Dock

YAML to JSON Converter

Convert YAML to JSON and JSON to YAML, with the exact line of any error.

Options

Input

Waiting for input

Output

or press ⌘/Ctrl + Enter
  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

How to use it

  1. Paste YAML (or JSON). The direction is detected automatically, or pick it yourself.
  2. Choose the indentation for the output.
  3. Copy the result, or download it as a file.

Why Tool Dock

  • FastEverything runs on your own device, so there is no queue and no waiting for uploads.
  • PrivateYour files and text never leave the browser. Close the tab and they are gone.
  • Batch friendlyDrop several files at once and download each result, or all of them together.

Questions

Is my YAML parsed safely?

Yes. The parser uses the safe schema only: custom tags and anything that could run code are rejected, and the conversion happens entirely in your browser.

Why does my JSON come back with different key order?

It doesn't: keys keep the order they had in the YAML. Values like dates and numbers follow the YAML 1.2 core schema, so 1.0 stays a number and 2024-01-01 stays a string.

Can it convert several YAML documents at once?

One document per run. For files with “---” separators, convert each part separately.

All tools