Text Diff Checker Online

Compare two versions of a text side by side and see every addition, deletion and change highlighted. You can switch between a split and an inline view, compare by characters, words or lines, and show only the changed parts or the full text. It is handy for proofreading, reviewing edits to code or configuration, and comparing program output.

How to use

  1. Paste the original version into the Original Text box.
  2. Paste the new version into the Modified Text box.
  3. Under Settings, choose split or inline view, the compare method (chars, words or lines), and whether to show only the differences.
  4. Review the highlighted differences, or click Share to copy a link to this comparison.

Example

Input

Original Text:
The quick brown fox
jumps over the lazy dog.

Modified Text:
The quick red fox
jumps over the sleepy dog.

Output

- The quick brown fox
+ The quick red fox
- jumps over the lazy dog.
+ jumps over the sleepy dog.

Changed words highlighted: "brown" → "red", "lazy" → "sleepy"

Frequently asked questions

What is the difference between split view and inline view?

Split view shows the original and modified text in two columns next to each other. Inline view shows a single column in which removed lines appear above the lines that replaced them.

Should I compare by characters, words or lines?

Characters highlight the smallest edits, such as a changed letter or punctuation mark. Words are easier to read for prose. Lines work best for code, logs and configuration files where each line is a unit.

Can I share a comparison with someone else?

Yes. Click Share and a link to the comparison is copied to your clipboard. Anyone who opens the link sees both texts loaded in the tool, so avoid sharing confidential content this way.

Can I hide unchanged lines?

Yes. "Show Diff Only" collapses unchanged sections so you can focus on the edits; switch to "Show Full Text" to see the entire document.

Related tools