Free Text Diff - Compare & Highlight Side-by-Side Text Changes

Spot modifications, additions, and deletions between two text or code blocks with LCS line alignment, inline word-level highlighting, unified/split views, and whitespace filters.

LCS Text & Code Diff Checker

Line-by-line and inline word-level diffing — 100% private in your browser

4 lines
4 lines
+0 added-0 removed~4 modified0 unchanged
1The quick brown fox jumps over the lazy dog.
1The fast brown fox leaped over the lazy dog.
2Pikden is fast and private.
2Pikden is extremely fast and 100% private.
3Legacy line that was removed.
3Built for modern creators.
4Built for creators.
4Added a brand new closing line.

How to compare two texts

  1. Paste the original text into the first box.
  2. Paste the changed version into the second.
  3. Read through the highlighted comparison below.

See exactly what changed

Two versions of the same document and no idea what changed between them? Paste the old one on the left and the new one on the right.

It compares them line by line and highlights what was added, removed or changed. Good for contracts, copy edits, config files, or checking what a coworker actually did to your paragraph.

Frequently asked questions

Why is a whole line marked when I only changed one word?

The comparison works line by line, so any change on a line marks that line. If you're comparing long paragraphs, it helps to break them into one sentence per line first.

Related tools