Text Diff Checker

    Text Diff Checker

    Compare two texts and find differences

    About the Text Diff Checker

    A text diff checker shows the difference between two versions of any text — code, prose, JSON, logs, contracts — by identifying which lines were added, removed, or kept. Instead of reading both documents end-to-end, you see only what changed, which is how engineers review pull requests and editors review revisions. This tool runs fully client-side using a longest-common-subsequence algorithm, so your content never leaves the browser.

    Features

    How it works

    1. Paste the original version into the left panel.
    2. Paste the modified version into the right panel.
    3. Changes are highlighted instantly: green for additions, red for removals, neutral for unchanged lines.
    4. Use 'Copy Patch' to grab a unified-diff output for code review or changelogs.

    Use cases

    Frequently asked questions

    What is a text diff?

    +

    A text diff is a visual comparison between two versions of text that shows what was added, removed, or left unchanged. It's the same concept git uses in pull requests.

    Is my text sent to a server?

    +

    No. All comparison runs entirely in your browser. Nothing is uploaded, logged, or stored.

    Can I compare long documents?

    +

    Yes — the tool comfortably handles documents up to around 8,000 lines combined before falling back to a pairwise view.

    Does it work with non-English text?

    +

    Yes. Unicode is handled correctly, including CJK, Arabic, and emoji.

    Can I export the diff?

    +

    Yes — click 'Copy Patch' to copy a unified-diff style output you can paste anywhere.