How to Diff Config Files and Spot Risky Changes
Updated November 2026
Many outages begin with a small configuration change. Comparing the old and new file carefully is one of the cheapest safeguards.
Prepare both files
Make sure both versions use the same line endings and indentation. For JSON config, format both with the JSON Formatter first. Sorting keys, if you can, removes false differences.
Compare
Paste the old version on one side and the new one on the other in Text Compare. Tick Ignore whitespace when only indentation changed.
What to look for
- Environment values: URLs, hostnames and ports that point at the wrong environment
- Limits: timeouts, memory, connection pools and rate limits
- Feature flags switched on or off
- Secrets: keys or passwords accidentally added
- Removed lines: a deleted setting may silently fall back to a default
Good habits
Review config changes the way you review code, keep them in version control, and change one thing at a time so a failure is easy to trace. Remember that the comparison runs in your browser, so config text is not uploaded.