YAML Diff

Compare two YAML documents and display added, removed, and changed keys in a tree view.

Input data is processed in your browser
Data is never sent to a server

Tool

0 chars

or drag & drop a file

0 chars

or drag & drop a file

What is YAML Diff?

YAML Diff compares two YAML documents and displays the differences in a tree view. It ignores indentation differences and detects only actual data changes, making it useful for tracking changes in Docker Compose, Kubernetes manifests, and CI configuration files.

How to Use

  1. Paste the original YAML into the left input field.
  2. Paste the modified YAML into the right input field.
  3. Click "Compare" to see the differences in a tree view.
  4. A summary shows the count of added, removed, changed, and unchanged keys.

FAQ

How is this different from a text diff tool?

A text diff compares line by line. YAML Diff compares by key and value, ignoring indentation differences, so only actual data changes are detected.

Are nested mappings supported?

Yes. Nested mappings are compared recursively and only the keys that changed are highlighted.

How are lists compared?

Lists are compared index by index, so additions, removals, and changes to individual elements are detected separately.

Is my data sent to a server?

No. All processing happens in your browser.