Frequently Asked Questions

Everything you need to know about the Text Diff Checker.

How does the text diff checker work?

Paste your original text in the left pane and the changed text in the right pane. The tool computes the differences using the Longest Common Subsequence (LCS) algorithm and highlights every addition, deletion, and change — updating automatically as you type.

Is the text diff checker free?

Completely free, with no sign-up, downloads, or limits on how much text you can compare.

Can it show differences within a line?

Yes. When the Sub-line option is set to Word or Char, the tool highlights the exact words or characters that changed within a modified line — not just that the line changed. Switch to None to see only line-level differences.

What view modes are available?

There are two view modes. Side by side shows the original and changed text in two aligned columns so you can read both simultaneously. Inline (unified) shows all changes in a single stream with − and + markers for removed and added lines.

Can I ignore case or whitespace?

Yes. Toggle Ignore case to treat upper and lower case letters as equal. The Whitespace option lets you keep whitespace as-is, trim leading/trailing spaces from each line, or ignore all whitespace entirely — so only meaningful content changes appear.

What does the summary line show?

The summary shows the total count of added lines and deleted lines in the format +N / −M. If both texts are identical, it shows "Identical" instead.

Can I use it to diff code or config files?

Yes — it works on any plain text, including source code, JSON, YAML, environment files, and other configs. Paste the file contents into each pane and the diff highlights every change.

Is my text sent to a server?

No. All diffing runs entirely in your browser using JavaScript. Nothing you paste or type is sent anywhere, so your content stays completely private.

What is the Copy unified diff button?

It copies a unified diff string to your clipboard — the standard format used by version-control tools like git diff, with − lines for deletions and + lines for additions. You can paste this into a PR description, bug report, or any tool that accepts diff patches.

Does it work on mobile?

Yes, the tool is fully responsive. On small screens the two input panes stack vertically and the diff output adapts so there is no horizontal overflow.

Ready to use it?

Free, no sign-up required.

Open the Text Diff Checker