Text Diff Checker

Compare two text blocks and see line-by-line differences. Highlights added and removed lines. Useful for configs, code, or logs.

Text Diff Checker tool

How to use

  1. Enter text A and B

    Paste the original text in the first area and the modified text in the second.

  2. View diff

    Added lines appear in green, removed in red, unchanged in default style.

  3. Copy diff

    Use Copy to copy the diff output.

Examples

  • Simple change

    One line changed.

    Input
    Line 1
    Line 2
    Output
    Line 1
    - Line 2
    + Line 2 updated

Frequently asked questions

How is the diff computed?
A line-by-line comparison: lines only in A are removed, only in B are added.
Is my text sent anywhere?
No. The diff is computed entirely in your browser.

You might find these useful too.