How It Works

Enter your YAML data in the left box, and it will be instantly converted to JSON format on the right.

YAML Input

JSON Output



Copied!

Real-World Examples

Example 1

YAML:

name: John Doe
age: 30
skills:
  - JavaScript
  - Python
            

JSON:

{
  "name": "John Doe",
  "age": 30,
  "skills": ["JavaScript", "Python"]
}
            

Example 2

YAML:

product: 
  name: "Smartphone"
  price: 999.99
  features:
    - "5G"
    - "128GB Storage"
            

JSON:

{
  "product": {
    "name": "Smartphone",
    "price": 999.99,
    "features": ["5G", "128GB Storage"]
  }
}