Online YAML Diff Tool
Paste two YAML files and instantly see which keys changed, which blocks were added or removed — with full YAML syntax highlighting.
Open the Tool — Free & InstantYour data never leaves your browser
No server processing
All diffing runs locally in your browser using JavaScript. Zero data transmitted.
No logging or storage
We do not store, log, or read your content. Nothing is saved anywhere.
Safe for sensitive content
Confidential code, config files, API keys — safe to compare here.
PII detection on share
Before any share link is generated, your content is scanned for emails, API keys, and tokens — with options to redact or encrypt.
Features
- ✓YAML syntax highlighting for both panes
- ✓Side-by-side and unified diff views
- ✓Character-level change highlighting within lines
- ✓Works with Kubernetes manifests, Docker Compose, CI configs, and more
- ✓Ignore whitespace option for indentation-only changes
- ✓Download diff as .patch or HTML file
- ✓Shareable links for any YAML diff
- ✓100% in-browser — YAML never sent to a server
Frequently Asked Questions
How do I compare two YAML files online?
Paste the original YAML in the left panel and the modified YAML in the right panel. Select "YAML" from the language dropdown in the toolbar to enable syntax highlighting. Changes are highlighted instantly.
What YAML files can I compare?
Any YAML-based config: Kubernetes manifests, Docker Compose files, GitHub Actions workflows, Ansible playbooks, Helm charts, OpenAPI specs, and general configuration files.
How do I filter out indentation-only changes?
Enable the "Ignore whitespace" option in the toolbar. This suppresses diffs that are purely indentation or spacing changes, which is common when YAML files are reformatted.
Is my YAML config kept private?
Completely. No data leaves your browser. Safe to use with internal infrastructure configs, secrets-adjacent files, or any sensitive YAML.
Can I share a YAML diff with my team?
Yes. Click Share to generate a URL with the diff encoded in it. You can also use the Encrypt option to password-protect the link before sharing.