YAML 对比工具

在线对比 YAML 配置文件,即刻找出差异。

原始文本1
修改文本1

What Is YAML Diff?

YAML Diff is a free online tool that compares two YAML configuration files line by line and highlights every addition, deletion, and modification. It is ideal for comparing Kubernetes manifests, Docker Compose files, CI/CD configs, Helm values, and any other YAML-based configuration files.

How to Use YAML Diff

  1. Paste your original YAML into the left panel.
  2. Paste the modified YAML into the right panel.
  3. Click Compare to see the highlighted differences.
  4. Use Split or Unified view to review changes.

Features

  • Line-by-line YAML comparison
  • Split and unified diff views
  • Ideal for Kubernetes, Helm, Docker Compose configs
  • Added / removed line counters
  • Copy diff result to clipboard

FAQ

Does YAML Diff validate syntax?

The tool compares YAML as plain text, so it works even with non-standard YAML dialects.

Is my YAML data private?

Yes — everything runs in your browser. No data is sent to any server.

Can I compare multi-document YAML files?

Yes. Paste the full content including document separators (---) and they will be compared line by line.