Convert docker-compose.yml to Kubernetes Deployment, Service, ConfigMap, and PVC manifests.
Free online Docker Compose to Kubernetes converter. Paste a docker-compose.yml and instantly get Kubernetes manifests: Deployments, Services, ConfigMaps, Secrets, and PersistentVolumeClaims. Automatically detects sensitive environment variables and separates them into Secrets. Supports custom namespaces, replica counts, and image registry prefixes. Runs entirely in your browser — no data is sent to a server.
Keywords: docker compose to kubernetes, docker-compose to k8s, convert docker compose to kubernetes, compose to k8s converter, docker compose kubernetes manifest, docker compose to deployment yaml, compose to kubernetes online, docker compose to k8s yaml, kompose online, docker to kubernetes converter, docker compose yaml to k8s, docker compose to helm
Tags: docker, kubernetes, k8s, compose, devops, converter, yaml
Paste your docker-compose.yml content into the input panel on the left.
Configure conversion options: target namespace, default replica count, and optional image registry prefix.
Click "Convert" or press ⌘↵ to generate the Kubernetes manifests.
Review the generated resources across the output tabs — Deployments, Services, ConfigMaps, Secrets, and PVCs.
Copy individual resources with ⌘⇧C or download all manifests as a single multi-document YAML file.
Supports Docker Compose file formats v2 and v3 including the latest Compose Specification
Generates Kubernetes Deployment manifests with configurable replica counts and resource names
Creates Service manifests from exposed ports — ClusterIP for internal ports, LoadBalancer for host-bound ports
Extracts environment variables into ConfigMap resources for non-sensitive configuration
Detects potential secrets (keys containing PASSWORD, SECRET, KEY, TOKEN) and generates separate Secret manifests
Maps named volumes to PersistentVolumeClaim resources with configurable storage class
Supports custom Kubernetes namespace injection into all generated resource metadata
Optional image registry prefix prepended to all image references for private registries
Outputs valid multi-document YAML with `---` separators, ready for `kubectl apply -f`
Runs entirely in your browser — your Compose files are never uploaded to any server
Keyboard shortcut ⌘↵ to convert, ⌘⇧C to copy output
AI explanations explain generated Kubernetes resource choices and configuration options
A comprehensive developer guide to writing production-grade Dockerfiles: mastering BuildKit cache invalidation, multi-stage builds, non-root execution, and security linting.
Diagnose and fix syntax errors, missing resource limits, selector mismatches, and schema validation failures in Kubernetes manifests before deployment.
Translate Docker Compose stacks into production-ready Kubernetes manifests. Map services to Deployments, host volumes to PVCs, and env files to ConfigMaps.
Docker Compose is a declarative tool for defining and running multi-container Docker applications using standardized YAML service definitions.
A Dockerfile is a declarative text document containing sequential instructions used by the Docker daemon or BuildKit engine to automate container image builds.
The Open Container Initiative (OCI) is an open governance project that defines standardized specifications for container runtime formats and container image formats.
Chain Docker Compose to Kubernetes with other utilities in a multi-step visual workflow.
Decode a Base64 string and pretty-print the JSON inside it.
Convert CSV data to JSON, then to YAML format.
Format JSON and generate TypeScript/Zod schema from it.