java-diff-utils/java-diff-utils
Diff Utils library is an OpenSource library for performing the comparison / diff operations between texts or some kind of data: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on. observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 90
- Release rhythm 59
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 293.5
- age_days: 3443
- days_rel: 60
- days_push: 60
- n_releases_24m: 3
Adoption not part of the score
1544 stars · 221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An open-source Java library for performing diff operations between texts or data: computing diffs, applying patches, generating and parsing unified diffs, and rendering diff output such as side-by-side views. It is a maintained fork of the original Google Code java-diff-utils project, published on Maven Central.
Use cases
- compute the difference between two texts in java
- apply a patch to a file programmatically
- generate unified diff output
- parse unified diff files
- render side-by-side diff view
- show inline word-level diffs with markdown styling
- compare lists of arbitrary objects for changes
When to choose
- you need diff/patch functionality inside a JVM application
- you want to display human-readable diff output like side-by-side or inline diffs
- you need to generate or parse unified diff format
When to avoid
- you need a command-line diff tool rather than a library
- you work outside the JVM ecosystem
- you need binary or image diffing
Facets
library · maturity active
parser developer-tools serialization developer-tools text-editors version-control files jvm cross-platform diff unified-diff patch text-comparison side-by-side java
2 sources
- readme: https://github.com/java-diff-utils/java-diff-utils · fetched 2026-08-28 · 45585d6a237e
- homepage: https://java-diff-utils.github.io/java-diff-utils/ · fetched 2026-08-29 · 0364dd869b96
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| java-diff-utils/java-diff-utils | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="java-diff-utils/java-diff-utils")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem