Diff & Compare
Spot the differences between text, JSON, YAML, and lists.
5 tools
Diff & Compare Online
Free online comparison tools for finding differences between text, JSON, YAML, and lists. These browser-based utilities help developers and users identify changed, added, removed, or matching data without manually comparing two documents line by line.
What You Can Do
- Compare two blocks of plain text and highlight changes.
- Compare JSON documents by their keys and values.
- Generate JSON Patch operations from two JSON documents.
- Compare YAML documents and identify structural differences.
- Compare lists to find their union, intersection, and differences.
- Quickly inspect changes between versions of structured data.
Featured Diff & Compare
Text Diff
Compare two blocks of text and highlight the changes.
JSON Diff
Compare two JSON documents key by key.
JSON Patch Generator
Generate an RFC 6902 JSON Patch from two JSON documents.
YAML Diff
Compare two YAML documents key by key.
List Comparer
Compare two lists and get their union, intersection, and difference.
All Diff & Compare
Browse all 5 tools in this category.
JSON Diff
Compare two JSON documents key by key.
JSON Patch Generator
Generate an RFC 6902 JSON Patch from two JSON documents.
Text Diff
Compare two blocks of text and highlight the changes.
YAML Diff
Compare two YAML documents key by key.
List Comparer
Compare two lists and get their union, intersection, and difference.
Frequently Asked Questions
What is a diff tool?+
A diff tool compares two versions of data and highlights what has changed, helping you identify additions, removals, modifications, and matching content.
What types of data can I compare?+
This collection includes comparison tools for plain text, JSON, YAML, and lists, along with a tool for generating JSON Patch operations.
What is JSON diff?+
JSON diff compares two JSON documents and identifies differences between their objects, arrays, keys, and values according to the comparison method used by the tool.
What is JSON Patch?+
JSON Patch is a standard format for describing changes to a JSON document using operations such as add, remove, replace, move, copy, and test.
What is the difference between a text diff and a JSON diff?+
A text diff primarily compares textual content, while a JSON diff can understand the structured nature of JSON and compare its keys and values.
