Text Tools
Text Difference Checker
Compare two texts and find line-by-line changes.
Original: 0 lines · Changed: 0 lines. Comparison is exact, including spaces and capitalization.
0
Added lines
0
Removed lines
0
Unchanged lines
Paste text on either side to see line-by-line differences.
About This Tool
Compare an original text with a changed version and see where whole lines were added or removed. The checker keeps matching lines aligned even when a line is inserted in the middle, making it useful for drafts, configuration snippets, lists, notes, copied output, and other plain-text revisions. Comparison happens locally in your browser.
How To Use It
- Paste the earlier or reference version into Original text.
- Paste the version you want to compare into Changed text.
- Review the added, removed, and unchanged counts, then inspect the line-numbered difference view.
- Use Swap sides when you want to reverse which version is treated as the original.
Examples
Review an edited list
Compare two newline-separated lists to spot an inserted item without making every following line appear changed.
Check configuration text
Compare an earlier and later configuration snippet to identify exact line additions and removals before reviewing what those changes mean.
Find invisible-looking edits
A line with an added trailing space is treated as different because comparison is exact, including whitespace and capitalization.
Useful Notes
How lines are aligned
The checker uses a longest-common-subsequence line comparison. Matching lines are kept aligned while unmatched lines are reported as additions or removals, so a single insertion does not automatically shift every later match.
Comparison is exact
Capitalization, spaces, punctuation, and other characters are significant. Windows, classic Mac, and Unix newline sequences are normalized into line boundaries, but the text inside each line is not trimmed or rewritten.
A replacement appears as removal plus addition
When the content of a line changes, the old line is no longer an exact match and the new line is new content. The result therefore represents a replacement as a removed line and an added line rather than guessing which characters were edited.
Designed for moderate plain-text comparisons
Longest-common-subsequence comparison requires work proportional to both line counts. To keep browser performance predictable, each side is limited to 500 lines. Large source trees and huge generated files are better handled by dedicated version-control or desktop diff software.
Local processing
The entered text is compared in your browser. This tool does not need to upload either text block to a comparison service.
FAQ
Does it compare individual characters?
No. This tool intentionally compares whole lines. A changed line is shown as one removal and one addition rather than a character-level patch.
Are spaces ignored?
No. Spaces and capitalization are part of the exact line content, so whitespace-only changes can appear in the result.
Why is there a 500-line limit?
The alignment algorithm compares combinations of lines. The limit keeps memory and interaction time predictable in a browser while covering common notes, lists, snippets, and document sections.
Does Hanakash receive the text I compare?
No. The comparison runs locally in your browser and requires no conversion API.
Related Tools
Word & Character Counter
PopularInstant word, character, line, and reading-time counts.
Case Converter
PopularConvert text into common writing and developer casing styles.
JSON Formatter & Validator
PopularValidate JSON, pretty-print it, minify it, and inspect JSON paths.
Base64 Encode / Decode
PopularConvert plain text and Base64 in either direction.