YAML to JSON Converter

Convert YAML to JSON instantly — no upload, no sign-up, fully private. 100% free.

Runs 100% in your browser. Your data never leaves this page.

Built for Obsidian, Hugo, Jekyll, and CI pipelines.

How to use

  1. Paste your YAML into the box on the left.
  2. The JSON output appears on the right in real time.
  3. Copy the result or download it as a .json file.

Conversion uses js-yaml and runs entirely in your browser.

Example

Input
name: YAMLTools
type: converter
private: true
features:
  - browser-based
  - no-upload
config:
  indent: 2
Output
{
  "name": "YAMLTools",
  "type": "converter",
  "private": true,
  "features": [
    "browser-based",
    "no-upload"
  ],
  "config": {
    "indent": 2
  }
}

When this works best

Works on valid YAML only. Anchors and aliases are resolved and inlined, so shared references are duplicated; if the source has duplicate keys the last value wins silently.

How it differs from related tools

Unlike our JSON to YAML converter, this goes the other way — YAML in, JSON out.

Frequently asked questions

Is this YAML to JSON converter free?

Yes. It runs entirely in your browser, has no accounts, and requires no sign-up.

Does my YAML get uploaded?

No. Everything is parsed on your device. Your data never leaves the browser.

Does it preserve YAML anchors and aliases?

Anchors are resolved and inlined, so the JSON output is fully expanded — no shared references remain.

What happens to comments in my YAML?

YAML comments are not part of the data, so they are dropped in the JSON output.

Related converters

Learn more about YAML