Text & String Utilities100% Client-Side

Diff Checker

Compare two versions of text line by line. Paste the earlier version into Original text and the newer version into Revised text. The checker keeps matching lines aligned and shows where lines were added, removed, or changed. You can see both texts side by side on a wide screen or read the changes in one column on a phone. Use the sample to try a small configuration edit before comparing your own text.

Comparison result

1 added, 0 removed, 1 changed

unchanged, line 1mode=dev
Changed, original, line 2port=3000
Changed, revised, line 2port=8080
unchanged, line 3cache=false
added, line 4cors=true
unchanged, line 5logging=debug

How to Use the Diff Checker Online

  1. 1Paste the first version into Original text. You can leave it empty to see every line in the revision as an addition.
  2. 2Paste the newer version into Revised text. Keep tabs and spaces if their changes matter.
  3. 3Choose Compare text. Check the summary and use the line numbers and plus or minus markers to review the differences.
  4. 4Use Copy diff to copy a plain-text result for a review or ticket, or edit the inputs and compare again.

Input & Output Examples

Changing the port produces a paired removal and addition. The new CORS setting is an addition by itself, and the matching cache and logging lines provide context.

Input Sample
Original
mode=dev
port=3000
cache=false
logging=debug

Revised
mode=dev
port=8080
cache=false
cors=true
logging=debug
Expected Output
  mode=dev
- port=3000
+ port=8080
  cache=false
+ cors=true
  logging=debug

The beta line disappeared. The release line stays aligned with its original even though it moved up one line in the revised text.

Input Sample
Original
alpha
beta
release

Revised
alpha
release
Expected Output
  alpha
- beta
  release

Practical Developer Workflows

  • Review a configuration edit before committing it, especially when several lines look similar.
  • Compare plain-text logs from the same test run before and after changing a setting.
  • Check which lines an editor removed or reworded in a draft, and copy the differences into a review.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Windows, Unix, and carriage-return line endings all count as line breaks. Spaces and tabs within a line still count as differences. Adding or removing a final line break adds or removes a blank line at the end.

Explore Other Tools

12 suggested tools

View all tools