RustDiff is a Linux desktop app for comparing two JSON, XML or SQL documents. Instead of matching raw text lines, it compares the structure of each file: keys and array indices in JSON, nodes and attributes in XML, and individual statements in SQL. Plain text falls back to a line-by-line comparison. It suits developers and anyone who checks API payloads, config files or database scripts for changes.
The interface is a split editor with syntax highlighting, automatic pretty-printing and search. Differences appear in a filterable table, and clicking a row jumps to the matching location. JSON and XML can also be viewed as a graph with pan, zoom and node search. Results can be exported as plain text or styled HTML, and past sessions are stored in a searchable SQLite history. The source code is published under GPL-3.0-or-later.
Alternatives to RustDiff
Products that do a similar job in Developer Tools.
Meld
Visual diff and merge tool for comparing files and folders
Postman
API development platform for designing, testing and sharing APIs
DBeaver Community Edition
Free desktop SQL client and database administration tool
Insomnia
API client for testing GraphQL, REST, WebSocket, SSE and gRPC endpoints
Bruno
Desktop client for exploring and testing APIs
KiCad
Electronics design suite for schematics and printed circuit boards
Podman Desktop
Graphical front end for managing Podman containers and images
IntelliJ IDEA Ultimate
Java and JVM integrated development environment from JetBrains