awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
java-diff-utils avatar

java-diff-utils/java-diff-utils

0
View on GitHub↗
1,536 stars·220 forks·Java·Apache-2.0·26 viewsjava-diff-utils.github.io/java-diff-utils↗

Java Diff Utils

Java Diff Utils is a library for computing text differences, generating unified diffs, parsing patches, and applying changes to data in Java applications. It functions as a utility for comparing text sequences, calculating additions and deletions, and generating structured difference comparisons, while also acting as a patch generation library for creating, parsing, and applying standard unified patches to synchronize and update text content.

The library calculates the shortest edit script between two sequences using dynamic programming to identify optimal additions, deletions, and modifications. It represents text changes as discrete delta objects containing line ranges and content blocks for targeted modifications, and allows plugging in custom equivalence checkers and comparators to evaluate sequence elements based on domain-specific rules.

Additional capabilities include applying computed change instructions to update existing content or reversing those exact operations to restore original data. It also transforms raw change structures into human-readable unified outputs or side-by-side rows with inline markup highlights, and reads text patch files to reconstruct structured change instructions for automated data synchronization.

Features

  • Myers Sequence Diff Calculations - Calculates the shortest edit script between two sequences using dynamic programming to identify optimal additions, deletions, and modifications.
  • Text Difference Computation - Calculates structural differences between text sequences and data sets using dynamic programming to identify additions and deletions.
  • Java Diff Libraries - Provides a robust Java library for computing text differences, generating unified diffs, and applying patches.
  • Logical Unit Reverts - Applies computed change instructions to update existing content or reverses those exact operations to restore original data.
  • Patch Reversion - Applies patch instructions to modify target text content and reverses those exact operations to restore original data.
  • Patch Representations - Represents text changes as discrete delta objects containing line ranges and content blocks for targeted modifications.
  • Patch Application - Applies computed change instructions to update existing content or reverses those exact operations to restore original data.
  • Patch Parsing - Reads and interprets text patch files to reconstruct structured change instructions for automated data synchronization.
  • Sequence Comparison Algorithms - Allows plugging in custom equivalence checkers and comparators to evaluate sequence elements based on domain-specific rules.
  • Text Diffing and Patching Libraries - Offers comprehensive text diffing and patching capabilities to synchronize and update text content.
  • Stateful Diff Parsing - Parses standard text patch files and generates structured change instructions for automated data synchronization.
  • Unified Diff Generators - Transforms raw change structures into human-readable unified outputs or side-by-side rows with inline markup highlights.
  • Diff Generation Utilities - Calculates textual additions, deletions, and structured differences between sequences.
  • Side-By-Side Diff Tools - Generate human-readable comparison rows featuring inline highlights and custom formatting tags for clear side-by-side display views.
  • Side-by-Side Diff Viewers - Renders code differences in a dual-pane layout with inline markup highlights for clear visual comparisons.
  • Dataset Patch Appliers - Apply imported change instructions to an original data set to produce a revised and updated version.

Star history

Star history chart for java-diff-utils/java-diff-utilsStar history chart for java-diff-utils/java-diff-utils

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does java-diff-utils/java-diff-utils do?

Java Diff Utils is a library for computing text differences, generating unified diffs, parsing patches, and applying changes to data in Java applications. It functions as a utility for comparing text sequences, calculating additions and deletions, and generating structured difference comparisons, while also acting as a patch generation library for creating, parsing, and applying standard unified patches to synchronize and update text content.

What are the main features of java-diff-utils/java-diff-utils?

The main features of java-diff-utils/java-diff-utils are: Myers Sequence Diff Calculations, Text Difference Computation, Java Diff Libraries, Logical Unit Reverts, Patch Reversion, Patch Representations, Patch Application, Patch Parsing.

Which projects share features with java-diff-utils/java-diff-utils?

Projects with overlapping indexed features include: google/diff-match-patch — This is a text diffing and patching library used for computing differences between text blocks, calculating edit… sebastianbergmann/diff — This is a sequence comparison library and text difference engine that implements the Myers diff algorithm to identify… jeffkaufman/icdiff — icdiff is a command line text analyzer and side-by-side diff tool. It serves as a visual comparison utility that… securingsincity/react-ace — react-ace is a React component wrapper for the Ace code editor, designed to embed feature-rich text editing and syntax… ldqk/masuit.tools — Masuit.Tools is a comprehensive static utility library for .NET and ASP.NET Core development. It provides a broad… gemini-cli-extensions/conductor — Conductor is an agentic coding tool that plans, generates, and manages software features through structured tracks and…

Projects sharing features with Java Diff Utils

These projects share indexed features with Java Diff Utils. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • google/diff-match-patchgoogle avatar

    google/diff-match-patch

    8,065View on GitHub↗

    This is a text diffing and patching library used for computing differences between text blocks, calculating edit distances, and applying patches to synchronize document versions. It includes a fuzzy text matching engine to locate strings by balancing accuracy with location, and a Levenshtein distance calculator to measure the number of character insertions, deletions, and substitutions between two strings. The library features a semantic diff optimizer that refines raw text differences to align with human-readable word and phrase boundaries. It provides utilities for generating and parsing se

    Pythondiffdifferencematch
    View on GitHub↗8,065
  • sebastianbergmann/diffsebastianbergmann avatar

    sebastianbergmann/diff

    7,663View on GitHub↗

    This is a sequence comparison library and text difference engine that implements the Myers diff algorithm to identify additions and deletions between two sequences of text or arrays. It functions as a tool for calculating the shortest edit script to determine exactly which elements were modified between two versions of a file. The project provides a unified diff generator to produce standard textual representations of changes for human review, as well as a unified diff parser that converts these strings into structured objects for programmatic analysis. The engine treats text inputs as array

    PHP
    View on GitHub↗7,663
  • jeffkaufman/icdiffjeffkaufman avatar

    jeffkaufman/icdiff

    4,369View on GitHub↗

    icdiff is a command line text analyzer and side-by-side diff tool. It serves as a visual comparison utility that identifies modifications between two text files and renders them in a colored two-column layout within the terminal. The tool functions as a version control diff provider, allowing users to replace default difference engines with a side-by-side format. It utilizes ANSI color codes to highlight character-level changes, providing a visual method for terminal-based code review and text analysis. The system handles difference computation through line-based analysis and dynamic column

    Python
    View on GitHub↗4,369
  • securingsincity/react-acesecuringsincity avatar

    securingsincity/react-ace

    4,204View on GitHub↗

    react-ace is a React component wrapper for the Ace code editor, designed to embed feature-rich text editing and syntax highlighting into web applications. It provides a browser-based editor that applies language-specific coloring and formatting rules to source code and markup files. The project distinguishes itself through support for specialized keyboard interaction modes, including Vim and Emacs, as well as a side-by-side diff viewer for comparing different file versions. It also functions as a tool for code snippets and live autocompletions to accelerate text entry. The component covers a

    TypeScriptacecode-editorhacktoberfest
    View on GitHub↗4,204
Compare all 30 related projects→

Curated searches featuring Java Diff Utils

Hand-picked collections where Java Diff Utils appears.
  • Developer search query
  • a visual debugger for tracking code execution