Compare two texts and highlight every difference — line by line or word by word
1. Paste your original text: Enter the original or "before" version of your text in the left text area. This could be the previous version of a document, code, configuration file, or any text content you want to compare.
2. Paste the modified text: Enter the new or "after" version in the right text area. The diff checker will compare both texts and highlight every addition, deletion, and change between them.
3. Choose your view: Toggle between "Unified" view (all changes in a single column with +/- indicators) and "Split" view (side-by-side comparison). Unified is great for reading through changes sequentially; split view makes it easy to compare corresponding lines visually.
4. Enable word-level diff: Turn on "Word Diff" to see exactly which words changed within a modified line. Instead of marking the entire line as changed, it highlights only the specific words that were added or removed — perfect for reviewing edited prose or refactored code.
5. Review the statistics: The summary bar shows the count of added lines, removed lines, and unchanged lines at a glance. If no differences are found, a confirmation message is displayed. All processing runs locally in your browser.