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
Secure File Transfer for Windows with Cerberus by Redwood Icon
Secure File Transfer for Windows with Cerberus by Redwood

Protect and share files over FTP/S, SFTP, HTTPS and SCP with the #1 rated Windows file transfer server.

Cerberus supports unlimited users and connections on a single IP, with built-in encryption, 2FA, and a browser-based web client — all deployable in under 15 minutes with a 25-day free trial.
Try for 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