devpocket.dev

Text Diff Checker

Compare two texts by line, word, or character in unified or side-by-side views.

Runs locally
Loading tool…

How to use

Paste the original text on the left and the revised text on the right. Choose Line for files, Word for prose, or Character for exact edits. Case and whitespace can be ignored during comparison. The side-by-side view reconstructs each version with inline highlights; unified view shows one change stream. Copy the generated unified patch from the result header when you need a reviewable text artifact.

FAQ

What does ignore whitespace do?

Line mode ignores leading, trailing, and repeated whitespace. Word and character modes treat whitespace-only tokens as equivalent.

Is the unified patch compatible with Git?

It uses standard unified-diff syntax, but generic before.txt and after.txt filenames may need adjustment for repository use.

Related tools