A tiny, client-side web app that merges multiple Kubernetes kubeconfig YAML files entirely in the browser — no server required.
- Open
index.htmlin your browser (double-click the file) or serve the folder with any static file server. - Use the file picker to select one or more kubeconfig files and/or paste one or more kubeconfig YAML documents into the textarea (multiple documents can be separated with
---). - Click Merge. The merged kubeconfig will appear in the output area and can be downloaded.
- Merges
clusters,users, andcontextsby name. If the same name appears in later inputs, that entry overwrites earlier ones. - Files selected via the file input are processed first (in selection order). Pasted input is treated as later and therefore overrides file entries when names conflict.
apiVersion,kind,preferences,extensions, andcurrent-contextare taken from later configs (preferences and extensions are shallow-merged).
All processing happens locally in your browser — nothing is uploaded to any server. Treat kubeconfigs as sensitive and avoid sharing them.
js-yamlis included from a CDN inindex.htmlfor YAML parsing and serialization.
MIT
This was vibecoded in like 2 minutes. Do not use this in production.