Compare YAML
Compare two YAML files online with a semantic diff. Indentation, quoting style, and key order normalize away, leaving only real changes. Free, with no upload.
Files never leave your browser.
About YAML Diff
Parses both YAML documents and compares the underlying data structures. Whitespace, quoting style, and anchor expansion all normalize out, so only real structural differences appear in the result.
How to use
- Paste or load your two YAML files; parse errors are flagged inline.
- Toggle Array mode (Ordered or Set) under Options to control how sequences are compared.
- Optionally Sort keys to ignore key-order differences in maps.
Try a sample
A Kubernetes-style service manifest with image, replica, and env edits.
What this tool doesn't handle
- Comments and original key order are not preserved. Comparison is purely value-based.
- YAML features like merge keys are expanded before comparison.
Frequently asked questions
Do my files ever leave my browser?
No. Every comparison runs locally in your browser. Nothing you paste, drop, or load is uploaded to a server; the tool keeps working even if you go offline after the page loads.
Is this tool free to use?
Yes. All DiffResolver tools are free, with no account, sign-up, or installation. Because processing happens on your device, there are no server-imposed usage limits.
Does indentation or quoting style affect the comparison?
No. Both documents are parsed first, so indentation, quote style, and flow-versus-block syntax all normalize away. Only differences in actual values and structure are reported.
Can I compare Kubernetes manifests or CI configs?
Yes, that is the main use case. Anchors and merge keys are expanded before comparison, so the diff reflects the effective configuration rather than the YAML shorthand.
Is there a file size limit?
No server limit applies, because nothing is uploaded. The memory of your device sets the practical limit. Above 10 MB for text, 40 MB for images, 100 MB for documents, or 500 MB for archives, the tool warns you that the work can be slow, but it never blocks the file.
Does this tool work offline?
Yes. The browser keeps a copy of the tool after the first visit, so a page you opened before still works without a network. You can also install DiffResolver as an app from the browser menu. Installation stays optional; the site works the same in a normal tab.
Where is my data stored?
Your files are stored nowhere. They stay in the memory of the page and are gone when you close the tab. Only what you save yourself stays in this browser: a snapshot, your tool options, and your theme. To remove it, open Settings and select Clear all local data.