Text Diff Checker
Compare two texts using exact whole-line longest-common-subsequence matching.
This tool processes input locally in your browser without a tool API upload. This describes tool processing, not a site-wide logging guarantee. Avoid pasting live secrets.
Supported behavior
- Compare two texts using exact whole-line longest-common-subsequence matching.
- Whitespace is significant. CRLF and LF are treated alike; lone CR is not a line delimiter. A changed line appears as removal/addition, not word highlighting. Limit 500 lines and 200,000 characters per side; no merge or download control. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.
How to use the Text Diff Checker
- Paste original and changed text; inspect plus additions, minus removals and unchanged lines.
- Review the result or error before copying. Shared output panels offer Copy; there is no file upload or download workflow.
- Tool input is processed locally without a tool API request. This does not establish site-wide analytics or logging policy.
Examples
Worked behavior
Original a\nb and changed a\nc retain a and show a removed b and added c.
Limits and common mistakes
Whitespace is significant. CRLF and LF are treated alike; lone CR is not a line delimiter. A changed line appears as removal/addition, not word highlighting. Limit 500 lines and 200,000 characters per side; no merge or download control. Input limit: 200,000 characters per text input; regex and diff have additional limits described above.
Frequently asked questions
Is this a word diff?
No. It compares whole lines. Repeated equal lines can have more than one valid alignment.
More developer & data tools
Regular Expression Tester
Test JavaScript regular expressions against sample text.
Open tool →Find & Replace Tool
Find and replace plain text or regular-expression matches.
Open tool →Duplicate Line Remover
Remove duplicate lines while optionally ignoring letter case and blank lines.
Open tool →Line Sorter
Sort lines alphabetically, numerically or by length.
Open tool →JSON Formatter & Validator
Format, beautify and validate JSON locally in your browser.
Open tool →Unix Timestamp Converter
Convert Unix epoch seconds or milliseconds to readable dates and back.
Open tool →