YAML Diff
Compare two YAML files side by side with syntax-aware change highlighting
All processing happens in your browser. No data is sent to any server.
+13 added-9 removed8 unchanged
1 server:
2- host: localhost
3- port: 8080
4- workers: 4
5+ host: 0.0.0.0
6+ port: 443
7+ workers: 8
8+ tls:
9+ cert: /etc/ssl/cert.pem
10+ key: /etc/ssl/key.pem
11
12 database:
13 driver: postgres
14- host: localhost
15+ host: db.internal
16 port: 5432
17- name: myapp_dev
18+ name: myapp_prod
19 pool:
20- min: 2
21- max: 10
22+ min: 5
23+ max: 50
24
25 logging:
26- level: debug
27- format: text
28+ level: warn
29+ format: json
30+ output: /var/log/app.log
Why This Tool
YAML config files (Kubernetes manifests, CI/CD pipelines, Ansible playbooks) change frequently. This tool shows a clear side-by-side diff of two YAML files with highlighting for added, removed, and modified values.
How It Works
Paste your original YAML in the left panel and the modified version in the right. The tool compares them line by line and highlights differences with color coding.