TEXT TOOL · CLIENT-SIDE

Text Diff

Compare two pieces of text side by side. Additions are highlighted in green, removals in red.

Original Text

Modified Text

Differences

Click "Compare" to see differences.

How it works

The tool splits both texts into words and uses a longest common subsequence algorithm to find differences. Added words appear highlighted in green, removed words appear struck through in red, and unchanged text displays normally.

Additions

New or added content appears with a green background.

Removals

Deleted content appears with a red background and strikethrough.

Unchanged

Content present in both versions displays with normal styling.

Frequently Asked Questions

How does the text diff tool work?

Paste text into both panels and click Compare. The tool performs a word-by-word diff and highlights added text in green, removed text in red, and unchanged text in normal styling.

Can I compare code with this tool?

Yes. The diff tool works with any text including code, configuration files, or documentation. It compares word-by-word so you can spot exactly what changed.

Is the comparison done server-side?

No. All comparisons happen in your browser. Your text is never sent to any server, keeping your data completely private.

Related guides