Free, browser-based utilities for everyday developer workflows

Convert JSON to YAML for Kubernetes

Convert JSON manifests to YAML for Kubernetes, Helm, and DevOps workflows.

Try it now

Open JSON <-> YAML Converter with a ready-to-run example.

Try it now
When you need this
  • You receive JSON manifests but need YAML for Kubernetes.
  • You want human-readable configs for reviews.
  • You are switching between JSON and YAML in CI/CD pipelines.
How to do it with Daily Developer Tools
  • Paste JSON into the JSON <-> YAML Converter.
  • Confirm detection and convert to YAML.
  • Copy the YAML output into your manifest.
Tips / common pitfalls
  • Validate YAML after conversion to catch indentation issues.
  • Use consistent spacing (2 spaces) for Kubernetes style.
  • Keep values quoted if they look like numbers or booleans.
Examples & test data

ConfigMap in JSON

Open tool with this example
Input example
{
  "apiVersion": "v1",
  "kind": "ConfigMap",
  "metadata": { "name": "app-config" },
  "data": { "LOG_LEVEL": "info", "FEATURE_X": "true" }
}
Expected output
apiVersion: v1
kind: ConfigMap
metadata:
  name: app-config
data:
  LOG_LEVEL: info
  FEATURE_X: "true"

Service definition

Open tool with this example
Input example
{
  "apiVersion": "v1",
  "kind": "Service",
  "metadata": { "name": "api-service" },
  "spec": {
    "selector": { "app": "api" },
    "ports": [{ "port": 80, "targetPort": 8080 }]
  }
}
Expected output
apiVersion: v1
kind: Service
metadata:
  name: api-service
spec:
  selector:
    app: api
  ports:
    - port: 80
      targetPort: 8080
FAQ
Does the converter preserve data types?

Yes. It keeps numbers, booleans, and strings as appropriate.

Can I convert YAML back to JSON?

Yes. The tool converts in both directions.

Is YAML validation included?

Use the YAML Validator tool after conversion for strict validation.

Does it work offline?

Yes. The conversion runs locally in your browser.

i Privacy-first: everything runs locally in your browser. No uploads, no tracking of your inputs.