Text Diff
Compare two pasted texts with a client-side line-based LCS diff—not word-level, no ignore-whitespace option, and not a full git/IDE Myers engine.
Diff Result
Tips
Line-level only
Changes are detected per line using LCS line alignment—not word-level highlighting inside a line.
Not a full Myers/git engine
This uses line-based LCS alignment in the browser. It is not the same as git or IDE diffs that use full Myers-style engines.
Whitespace counts
There is no ignore-whitespace UI. Trailing spaces and tabs can mark lines as different.
Client-side only
Comparison runs in your browser; text is not sent to a Toolomix diff API.
Line-based LCS diff
Compares two texts with a client-side line-based longest-common-subsequence alignment.
Color-coded lines
Shows removed and added lines so you can scan changes quickly.
Pasted text
Works on text you paste into the two panels—no file-diff upload workflow.
What this tool does
Text Diff compares two pasted blocks with a client-side line-based LCS algorithm and highlights added and removed lines.
It is not word-level diff, has no ignore-whitespace control, and is not a full git or IDE Myers diff engine.
How to use
Paste original text
Put the first version in the left (original) panel.
Paste modified text
Put the updated version in the right (modified) panel.
Compare
Run Compare and review the line-based LCS diff result.
Supported inputs and output
Input: two pasted plain-text blocks. Output: a line-oriented diff view of additions and removals.
No file upload workflow, no word-level hunks, and no ignore-whitespace toggle.
Processing and privacy
Comparison runs entirely in your browser with client-side JavaScript.
Your text is not sent to Toolomix for diffing—there is no text-diff API endpoint for this page.
Limitations
Known limits
- Line-based LCS diff—not a full Myers/git engine
- Not word-level diff
- No ignore-whitespace UI
- May differ from git/IDE diffs on the same inputs
- Pasted text only—no dedicated file-upload diff
Troubleshooting
If many lines look falsely different, normalize line endings and trailing whitespace before comparing.
If you need full Myers/git-quality alignment and hunks, use a dedicated diff tool; this page is for quick browser line-based LCS comparison.
Frequently Asked Questions
Is text uploaded?
No. The diff runs in your browser. There is no text-diff API call for this page.
Is this the same as git diff?
No. This uses line-based LCS alignment in the browser. It is not a full Myers/git diff engine, so results can still differ from git or IDE diffs.
Does it support word-level diff?
No. Comparison is line-oriented. Changes inside a line are not highlighted as word-level hunks.
Can I ignore whitespace?
No. The UI does not offer an ignore-whitespace option. Normalize spacing yourself before comparing if needed.
What do the colors mean?
Removed lines from the original are shown in red; added lines in the modified text are shown in green (as rendered by the UI).
Can I compare code?
Yes, as plain text. Expect line-level LCS results only; large refactors may still look noisier than in a full Myers-based git or IDE tool.
Why do identical-looking lines differ?
Hidden differences such as trailing spaces, tabs vs spaces, or CRLF vs LF still count because whitespace is not ignored.
Try Other Free Tools
Try it now
Paste two texts and compare with a line-based LCS diff in your browser.