DevToolsHub Free · Fast · 100% in your browser

Docker Compose ↔ Kubernetes Converter

Convert docker-compose.yml to Kubernetes Deployments, Services and PVCs, or Kubernetes manifests back to Compose.

About this docker-compose to Kubernetes converter

Convert docker-compose.yml files to Kubernetes YAML: each service becomes a Deployment with a matching Service, named volumes become PersistentVolumeClaims, and environment variables, commands, resource limits and health checks are carried over. You can also convert Kubernetes Deployments and Services back into a Compose file for local development.

How to use the Docker Compose ↔ Kubernetes Converter

  1. Choose the conversion direction.
  2. Paste your docker-compose.yml or Kubernetes manifests.
  3. Click Convert, review any warnings and copy the YAML.

Example

ports: ["8080:80"]  →  Service port 8080 → targetPort 80

Frequently asked questions

Is this a replacement for Kompose?

It covers the common cases quickly in the browser. For build contexts, secrets and advanced networking review the warnings and adjust the output.

What happens to depends_on?

Kubernetes has no start-order dependency; use readiness probes or init containers instead.

Is my data safe?

Yes. The tool runs entirely in your browser using WebAssembly. Nothing you type or upload is sent to a server, logged or stored.

Is it free?

Yes, completely free with no sign-up, no limits and no watermarks. It also works offline once the page has loaded.

An unhandled error has occurred. Reload ✕