COMPARE · AmpCub comparison helper
Text diff
Paste two texts and see exactly what changed.
Paste two text blocks to clearly see additions, deletions, and changes.
Comparison rules, limits & privacy
- Line Diff suits documents, Word Diff suits sentences, and Character Diff is the finest-grained but costs more on very different text.
- The algorithm runs in a Web Worker with cancellation and a 10-second timeout. Very complex diffs stop safely and suggest Line Diff to avoid freezing the page.
- Each side is limited to 100,000 UTF-16 units. Line, Word, and Character modes have additional comparison-unit limits; source text is never truncated.
- CRLF, CR, and Unicode line/paragraph separators normalize to LF. Character Diff prefers browser grapheme segmentation for emoji.
- Text stays only in this page's memory and Worker; it is not uploaded, stored, or sent to Analytics. Diffs render as text and never execute input as HTML.
Frequently asked questions
JSON or CSV?
Use JSON Diff or CSV diff for structure-aware results.