ToolMill.io

JSON ↔ YAML Converter

Convert JSON to YAML and YAML to JSON instantly in your browser. Great for config files (Kubernetes, Docker Compose, CI/CD pipelines) and for turning API payloads into readable YAML. ToolMill runs client-side for privacy, supports pretty output, and can work offline when installed as a PWA.

Data

Try it

Examples

Simple JSON object to YAML
Input
{"service":"api","replicas":3,"ports":[80,443],"env":{"NODE_ENV":"production","DEBUG":false}}
Output
service: api
replicas: 3
ports:
  - 80
  - 443
env:
  NODE_ENV: production
  DEBUG: false
YAML object to formatted JSON
Input
service: api
replicas: 3
ports:
  - 80
  - 443
env:
  NODE_ENV: production
  DEBUG: false
Output
{
  "service": "api",
  "replicas": 3,
  "ports": [
    80,
    443
  ],
  "env": {
    "NODE_ENV": "production",
    "DEBUG": false
  }
}

Related tools