Text Compare

Paste text on each side and hit compare. Line and word level differences are highlighted.

Free online text compare and diff checker

Text Compare finds the differences between two or three pieces of text. Paste or open your text, press Compare, and see added, removed and modified lines highlighted, with the exact changed words marked inside each line.

  • Side-by-side and unified diff views
  • Line and word level highlighting
  • Compare up to three texts at once
  • Ignore whitespace or letter case
  • Hide unchanged lines to focus on the changes
  • Open text files, code, JSON, CSV, Markdown and more

Frequently asked questions

Is my text uploaded anywhere?

No. The comparison runs entirely in your browser. Your text is never sent to or stored on a server.

Can I compare more than two texts?

Yes. Add a third text and Text Compare shows the differences between each pair.

Can I ignore whitespace or letter case?

Yes. Turn on Ignore whitespace or Ignore case to skip differences that only come from spacing or capitalization.

Is Text Compare free?

Yes. It is free and open source under the MIT License, with no sign-up required.