FREE TOOLS // DATA

Convert between YAML and JSON

Convert a single JSON-compatible YAML document to JSON or the other way around.

Runs locally in browserNo sign-up · Free forever

Input

Local browser

Result

Idle

Your output will appear here once you run the tool.

GUIDE & SPECS // YAML ⇄ JSON

How to use YAML ⇄ JSON

YAML ⇄ JSON is a free browser-based data utility on phil.on. Convert a single JSON-compatible YAML document to JSON or the other way around. Runs strict client-side parsers (JSON, PapaParse CSV, YAML) with clear error diagnostics. There is no sign-up, watermark, or file upload required.

Step-by-step instructions

  1. Enter or paste your data into the Direction field.
  2. Adjust Direction to match the output you need.
  3. Click Convert document to generate the result instantly, then copy or download it in one click.

Key features & limits

  • Convert a single JSON-compatible YAML document to JSON or the other way around
  • Runs strict client-side parsers (JSON, PapaParse CSV, YAML) with clear error diagnostics
  • Handles text inputs up to 400,000 characters with one-click copy and file download
  • Free to use with no account, daily cap, or remote file upload

FAQ // DATA

Frequently asked questions

Is my YAML or JSON uploaded?

No. Parsing and serialization run locally in your browser using the JavaScript yaml library.

How do I convert between YAML and JSON?

Choose YAML to JSON or JSON to YAML, paste up to 400,000 characters of source text, and click Convert document to copy or download result.json or result.yaml.

What does YAML ⇄ JSON not do?

It converts a single JSON-compatible document at a time — multi-document streams separated by ---, duplicate keys, non-finite numbers (NaN/Infinity), and custom YAML tags are rejected.