Text Tools
Text Diff Checker
Compare two texts by line or character and review added, removed and unchanged parts.
About this tool
Compare two texts by line or character and review added, removed and unchanged parts.
What is it?
It compares two text inputs locally and marks matching, inserted and deleted lines or characters.
How to Compare Two Texts
Enter the original and modified text, choose line or character comparison, then select Compare.
- Enter the values or text required by the tool.
- Choose an option or calculation mode when one is available.
- Run the tool and review the result panel.
- Copy the result if you need to use it in another application.
Examples
- Line mode: hello\nworld → hello\nAracBox
- Character mode: color → colour
Common use cases
- Reviewing edits to documentation or configuration text.
- Comparing two drafts or copied snippets.
- Spotting additions and removals before replacing a text block.
Technical details
- Line mode compares lines; character mode compares Unicode code points.
- The local longest-common-subsequence comparison is capped to prevent excessive browser work.
Related concepts
What Does a Text Diff Checker Do?
It compares two text inputs locally and marks matching, inserted and deleted lines or characters.
Frequently Asked Questions
Which comparison modes are supported?
Line mode is the default and character mode compares Unicode code points.
Are my texts uploaded?
No. Comparison runs in your browser; text contents are not included in analytics.
Related Tools
Character Counter
Instantly see character, character-without-spaces, word, line, letter, digit and whitespace counts in your browser.
Word Counter
Instantly count words, characters, sentences, lines and paragraphs.
Duplicate Line Remover
Remove repeated lines with trim, case-insensitive, blank-line and order options.