A diff checker compares two texts and highlights the differences between them. It shows added, removed, and modified lines — similar to how Git shows code changes. It's essential for code review, document comparison, and debugging.
How does text diffing work?▼
Text diff algorithms (like the Myers diff algorithm) find the longest common subsequence between two texts, then identify the minimum set of changes (insertions and deletions) needed to transform one text into the other.
Keyboard Shortcuts
Ctrl+Enter Run / Format Ctrl+Shift+C Copy output Ctrl+L Clear