YAML Converter

Convert between YAML, JSON, TOML, and .ENV formats instantly. Syntax highlighted output.

From

To

YAML Input

JSON Output

41 lines · 636 chars
{
  "app": {
    "name": "MyApp",
    "version": "2.1.0",
    "debug": false,
    "port": 3000
  },
  "database": {
    "host": "localhost",
    "port": 5432,
    "name": "myapp_db",
    "pool": {
      "min": 2,
      "max": 10
    }
  },
  "redis": {
    "url": "redis://localhost: 6379",
    "ttl": 3600
  },
  "features": {
    "dark_mode": true,
    "analytics": false,
    "beta_users": [
      "alice@example.com",
      "bob@example.com"
    ]
  },
  "cors": {
    "origins": [
      "https://example.com",
      "https://app.example.com"
    ],
    "methods": [
      "GET",
      "POST",
      "PUT",
      "DELETE"
    ]
  }
}

Runs entirely in your browser. Your files never leave your device.