JSON ⇄ YAML Converter

Convert between JSON and YAML formats in both directions.

Examples

JSON Example
{
  "name": "John Doe",
  "age": 30,
  "active": true,
  "skills": ["PHP", "JavaScript", "Python"],
  "address": {
    "city": "New York",
    "country": "USA"
  }
}
YAML Example
name: John Doe
age: 30
active: true
skills:
  - PHP
  - JavaScript
  - Python
address:
  city: New York
  country: USA

About

JSON (JavaScript Object Notation): A lightweight data format using key-value pairs, commonly used in APIs and configuration files.

YAML (YAML Ain't Markup Language): A human-friendly data serialization format often used for configuration files, with indentation-based structure.