🧰Formatty

YAML ↔ JSON Converter

Indent:
Live conversion - results update as you type
YAMLInput
JSONOutput

Syntax Comparison

Data TypeYAMLJSON
Stringname: John"name": "John"
Numberage: 30"age": 30
Booleanactive: true"active": true
Nullvalue: null"value": null
Array- item1 - item2["item1", "item2"]
Objectperson: name: John{"person": {"name": "John"}}
YAML

About YAML

YAML (YAML Ain't Markup Language) is a human-friendly data serialization format. It uses indentation for structure and is commonly used for configuration files (Docker, Kubernetes, CI/CD).

JSON

About JSON

JSON (JavaScript Object Notation) is a lightweight data interchange format. It's easy for machines to parse and is the standard for APIs and web data exchange.