Text & Data

Text Difference Checker: Compare Text Files

Compare two texts in the browser. Choose line, word, or character granularity, then inspect a side-by-side or unified view with jump-to-change navigation and a copyable unified patch.

Diff mode
Ignore
View

Drop a text file here. Files stay in this tab; nothing is uploaded.

Drop a text file here. Files stay in this tab; nothing is uploaded.

Paste two texts, load a sample, or drop files to compare.

Uses the Myers O(ND) longest-common-subsequence algorithm on lines, then word or character refinement inside changed lines. Inputs over 800,000 characters or 20,000 lines per side are refused. CR/LF and CR line endings are normalized to LF. This is a generic text differ, not a structured JSON compare. Copied patches use the GNU unified format (---/+++/@@) from the raw texts; ignore options affect the on-screen view only.