OnlineNotes Logo

    Text Compare (Diff Checker)

    Compare draft versions side by side and review exactly which lines were added or removed.

    Inputs

    Diff output

    Ready

    Added lines

    0

    Removed lines

    0

    Unchanged lines

    0

    When to use this tool

    Use this diff checker for release notes, config changes, migration docs, and editorial revisions.

    You can focus on real line changes and ignore cosmetic edits when needed.

    Frequently asked questions

    How does this text diff checker compare content?

    The checker compares content line by line and highlights unchanged, added, and removed lines.

    Can I ignore whitespace and case differences?

    Yes. Enable normalization options to focus on structural differences instead of cosmetic changes.

    Can I copy the diff output?

    Yes. You can copy the rendered diff block for review notes or pull request comments.

    Related tools

    Text diff checker online for line-by-line version comparison

    This text diff checker compares two drafts line by line and marks what was added, what was removed, and what stayed the same.

    Options to ignore whitespace and case let you see real edits when a draft has also been reformatted. It compares whole lines, so a one-word change shows as a line removed and a line added.

    How it works

    1. Paste the old text in Original and the new text in Updated, then press Compare text. Typing alone does not rerun it, but changing an option does.
    2. The tool finds the longest common subsequence of lines, which keeps as many lines in place as it can. Everything else is marked as removed or added.
    3. Each output line starts with "+ " for added, "- " for removed, or two spaces for unchanged. Counters show the total of each.
    4. Turn off Show unchanged lines to list only the changes. Copy diff output copies exactly what is displayed.

    Worked example

    Input

    Original:
    Install the app
    Open settings
    Turn on sync
    Restart
    
    Updated:
    Install the app
    Open Settings
    Turn on sync
    Restart
    Check the log

    Output

      Install the app
    - Open settings
    + Open Settings
      Turn on sync
      Restart
    + Check the log

    Counters: 2 added, 1 removed, 3 unchanged. Changing one letter marks the whole line as changed, with no word highlight. With Ignore case on, the "Open" lines count as unchanged, and the output shows the wording from the Updated text.

    Edge cases and limits

    • There is no word-level or character-level highlight, and no line numbers. The output is not a unified diff, because it has no @@ headers, so "git apply" or "patch" cannot use it.
    • A trailing newline counts as an extra empty line. If only the updated text ends with a newline, the diff reports one added blank line. Windows and Unix line endings are treated as equal.
    • Ignore whitespace trims each line and collapses inner runs of spaces and tabs. It does not skip blank lines, so added blank lines still show as changes, and it cannot treat a rewrapped paragraph as equal.
    • Matching lines at the start and end are skipped first, then the changed middle is compared. If original lines times updated lines in that middle passes 4 million (about 2,000 changed lines on each side), the tool asks you to compare smaller sections. Moved lines appear as a removal and an addition.

    When to use it

    • Compare two versions of a release note before you publish.
    • Show documentation edits to someone who does not use Git.
    • See what changed in a migration checklist between versions.
    • Copy a plain text list of changes into a pull request summary.