Options
📄 Original Text
📝 Modified Text

What is a text diff checker?

A text diff checker compares two versions of a text and marks what changed: lines added, lines removed, and the words that differ inside a changed line. You use it to see the edits in a contract, to check a new version of an essay, or to compare two config files.

How to compare two texts

  1. Paste the old version into 📄 Original Text.
  2. Paste the new version into 📝 Modified Text.
  3. Click 🔍 Compare Text.
  4. Pick Split for two columns or Unified for one.
  5. Turn on Ignore case or Ignore whitespace if those changes do not matter.

How to read the result

Lines with + are new in the modified text. Lines with - are gone from it. Lines with ~ changed, and the changed words inside them are highlighted. Unchanged lines are dimmed. The tool compares line by line, so text with one paragraph per line gives the clearest result.

Frequently Asked Questions

What is a text diff?

A comparison of two texts that shows the lines that were added, removed or changed. This tool uses a longest common subsequence (LCS) method, the same idea that Git uses.

Can I compare code?

Yes. Paste source code, JSON, config files, Markdown or prose. The comparison works line by line.

Is my text sent to a server?

No. The comparison runs in your browser. Your text is not uploaded or stored.

What do the colors mean?

Teal lines with + are added. Red lines with - are removed. Amber lines with ~ changed, with the changed words highlighted. Unchanged lines are dimmed.

Does it show which words changed in a line?

Yes. For a changed line, the tool compares the words and highlights only the ones that differ.

What is the difference between Split and Unified view?

Split shows the two versions side by side. Unified shows the changes in one column with - and + marks, like Git.

Can I ignore case or spacing?

Yes. Ignore case treats capitals and small letters as equal. Ignore whitespace skips differences in spaces and indentation. The text still shows as you pasted it.

Is there a size limit?

No fixed limit. Texts with hundreds of thousands of lines can make the browser slow.