🆚

JSON Diff

Compare two JSONs and highlight added/removed/modified lines.

Enter JSON above to see the diff
Enter JSON above to see the diff

All comparisons run locally. Optional key sorting can reduce noise.

About This Tool

Designed for API debugging and config file comparison, the JSON Diff tool normalizes both JSONs (optional key sorting and minification) and performs line- and word-level diff. It offers side-by-side and unified views with options to ignore whitespace and case, helping you quickly locate additions, deletions, and modifications. All processing is local to ensure privacy.

Features

  • 🆚 Dual Views: Side-by-side and unified modes
  • 🔍 Word-level highlights for modified lines
  • ⚙️ Normalization: Object key sorting and pre-diff minification
  • 🧽 Optional ignores: Whitespace and case
  • 🔄 Handy Utils: Support for swapping sides and loading examples
  • 📋 Copy: Copy left/right result text
  • 🔒 Local-only processing, no uploads