Helm Values Diff & Merge
Merge a values override into base values with Helm semantics and see what changed.
Base values
10 lines · 129 charsOverride values
8 lines · 97 charsMerged values
11 lines · 137 charsimage:
repository: nginx
tag: canary
replicaCount: 3
resources:
limits:
cpu: 500m
memory: 256Mi
service:
type: ClusterIP
Examples
Null deletes and list replacement
mergeHelmValues("replicas: 2\nports:\n - 80\n - 443", "replicas: null\nports:\n - 8080")merged without replicas:, ports: [8080], diff: changed:ports + deleted:replicasNull removes the replicas key while the ports list is replaced rather than concatenated.
Nested map merge
mergeHelmValues("image:\n repository: app\n tag: stable", "image:\n tag: canary")repository: app preserved, tag: canary, diff: changed:image.tagThe override changes only the nested tag key; untouched sibling keys survive the merge.
About this tool
Helm Values Diff & Merge compares and merges two values documents with mergeHelmValues(baseSource, overrideSource): both sources parse via js-yaml (blank input becomes {}), deepMerge combines maps recursively, the merged document dumps with sortKeys for byte-deterministic output, and diffValues flattens both trees into sorted dotted paths tagged added, changed, or deleted.
Null is the delete signal at any map level: an override value of null removes that key from the merged result and surfaces as a deleted diff entry, while lists are always replaced wholesale (ports [80, 443] overridden by [8080] yields exactly [8080] with a changed entry). Nested maps merge key-by-key, so overriding image.tag preserves sibling image.repository untouched.
Failures are explicit: unparseable YAML returns ok: false with the parser message, a 1-based line from the YAML mark when available, and an empty diff array. Everything runs client-side, so chart values and secrets never leave the browser.
How to use this tool
Paste base and override values
Put the chart defaults in the base pane and the environment overrides in the override pane — empty input is treated as an empty map.
Null out keys to delete them
Set any override key to null (e.g. replicas: null) to drop it from the merged output instead of rendering an explicit null.
Review the sorted diff list
Read the added/changed/deleted path list to confirm each intended change, then check the merged YAML preview for the final document.
Copy the merged output
Paste the deterministic merged YAML into a values file or a helm install -f override, knowing identical inputs always produce identical output.
Use cases
Previewing environment overrides
Diff staging or production values against chart defaults before running helm upgrade.
Pruning inherited keys
Null out default keys (replicas, persistence flags) that an environment must not set.
Auditing values drift
Flatten two values files into a sorted added/changed/deleted path list for review.
Common mistakes
Mistake:Expecting lists to concatenate across files.
Fix:Lists replace wholesale — mergeHelmValues never appends items, so restate the full desired list in the override.
Mistake:Writing an explicit null and expecting it in the output.
Fix:Null means delete: the key disappears from merged YAML and appears as a deleted diff entry, not as key: null.
Mistake:Treating a parse failure as an empty diff.
Fix:Invalid YAML returns ok: false with error and line plus an empty diff — check ok and error before trusting the merged document.
Frequently asked questions
What does this tool do?
It merges two Helm values documents with mergeHelmValues: blank input counts as {}, maps merge recursively, the merged YAML dumps with sorted keys, and diffValues reports sorted dotted paths as added, changed, or deleted.
How do null values and lists behave?
An override null deletes that key (a deleted diff entry) at any map level, and lists replace wholesale — overriding [80, 443] with [8080] yields exactly [8080] with a changed entry, never a concatenation.
Is my values data uploaded or stored?
No. Parsing, merging, and diffing run entirely in your browser via js-yaml — chart values and secrets never leave your device.
What happens on invalid YAML?
The result returns ok: false with the parser message, a 1-based line when the YAML mark provides one, and an empty diff array. Check ok and error before using the merged output.
Related guides
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.