YAML Playground

Edit YAML with live JSON preview and schema validation.

Data
Valid

Loading editor…

YAML → JSON

{
  "apiVersion": "v1",
  "kind": "Service",
  "metadata": {
    "name": "my-app"
  },
  "spec": {
    "selector": {
      "app": "my-app"
    },
    "ports": [
      {
        "port": 80,
        "targetPort": 8080
      }
    ]
  }
}

About this playground

Two-way YAML ↔ JSON conversion with live syntax validation and pretty output. Perfect for Kubernetes, CI and config files.

Related Playground Tools