Text Diff
Compare two texts side-by-side with word-level highlights and export a unified patch.
Runs locally in your browser
Original
382 chars · 9 lines
Changed
405 chars · 10 lines
1 / 2
Mode
line
Additions (lines)
4
Removals (lines)
3
Unchanged (lines)
6
Change blocks
2
Similarity
63.2%
Related tools
How to use Text Diff
- 1Paste the original and changed text — or drop two files anywhere on the tool to fill both panes.
- 2Pick Lines, Words or Chars granularity and Split, Unified or Patch view.
- 3Use the ‹ › counter to jump between change blocks; click a collapsed “unchanged lines” bar to expand it.
- 4Adjust ignore options (whitespace, case, blank lines, trailing spaces, CRLF) in Options.
- 5Copy the unified patch or download it as a .patch file with your file names in the header.
About Text Diff
See line, word or character differences between two texts in split, unified or patch view. Changed line pairs get intra-line word highlights, unchanged regions collapse with adjustable context, and next/previous navigation walks through every change block. Export a unified .patch, drop two files to compare them, and ignore whitespace, case, blank lines, trailing spaces or CRLF differences.
Text Diff is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.
Frequently asked questions
Myers diff, the same algorithm used by `git diff`. Patch output is a standard unified diff that `git apply` and `patch` understand.