json-diff is a command-line tool (and library) that computes differences between two JSON documents in a user-friendly manner. It highlights additions, deletions, and modifications in nested JSON structures, showing context so users can see where changes occurred. The output is presented in a readable diff style (text, colorized, or in various output formats) so developers can quickly understand changes between two versions of a JSON file. The tool also supports ignoring order in arrays, skipping certain paths, and configuration options so it can adapt to different JSON schemas or tolerance levels. Because JSON is ubiquitous in APIs, configs, and data interchange, json-diff is particularly handy for developers, devops, and QA to compare API responses or configuration states. It is designed to be lightweight and embeddable so it can be used both interactively and in scripts or CI pipelines.

Features

  • Generates colorized, diff-like command-line output between JSON files
  • Supports fuzzy matching for nested array elements
  • keysOnly option for comparing structure (keys only), disregarding values
  • full mode outputs the entire JSON tree, not just differences
  • outputKeys option ensures certain keys are always included when differences exist
  • Includes test coverage even if not complete

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow JSON-Diff

JSON-Diff Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JSON-Diff!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

CoffeeScript

Related Categories

CoffeeScript JSON Software

Registered

2025-08-22