YAML diff

Compare YAML configs by meaning. Key order and formatting are normalized.

Original
Changed
Nothing is uploaded. The comparison runs on this device.

Add both texts to see the differences here.

Advertisement

Find what really differs between two Kubernetes manifests, Docker Compose files, GitHub Actions workflows or Helm values. Diffspot parses both files, normalizes key order and formatting, and lists every changed setting by path, without sending your infrastructure config anywhere.

How to compare YAML

  1. Paste or drop the first YAML file on the left.
  2. Add the second file on the right. Both are normalized automatically.
  3. Check the path list below the diff for a summary such as $.replicas: 2 → 6.

Why Diffspot

Advertisement

Frequently asked questions

Can I compare YAML with JSON?

Yes. With the format set to automatic, each side is detected separately and normalized to the same form, so a YAML file and its JSON equivalent compare as equal.

Will comments affect the comparison?

When formatting is normalized, comments are dropped (they aren't part of the data). Turn off automatic formatting under Data options to compare the raw text with comments.

Is it safe to paste confidential text or files?

Yes. Diffspot computes every comparison on your device: the page loads the engine once, then your text and files stay in the browser tab. There is no upload and no server-side storage, and ads are shown in a separate sandboxed frame that cannot read the page. How Diffspot works explains the details, and you can confirm it in your browser's network panel.

How large can the inputs be?

There is no fixed limit. Your device's memory sets it. Texts of tens of megabytes and hundreds of thousands of lines work well on a typical laptop. Phones handle smaller inputs.

More comparison tools