Compare two versions of text side by side and highlight lines that were added or removed. Useful for reviewing contract edits, code comments, or changelog drafts.

Text diff

Line-based comparison of two texts. Green additions, red removals.

Diff
Line one Line two Line threeLine two changed Line three Line four

How to use Text diff

  1. Paste the original text in the first box.
  2. Paste the revised text in the second box.
  3. Read the diff output: removed lines, then added lines.

Example: Compare yesterday’s policy text with today’s update before you send it.

Frequently asked questions

Does it compare word by word or line by line?
The diff works at the line level, which is ideal for documents, configuration files, and notes where each line is a meaningful unit.
Can I use it for code?
Yes. It is handy for quick comparisons, though a dedicated version-control diff is better for large code reviews.