Compare text
Find added and removed lines between two documents.
Compare two texts
See which lines were added, removed or matched. Your text stays in this browser.
Up to 1,000 lines per side and 200 KiB (204,800 UTF-8 bytes) combined. A final newline counts as a final empty line.
UTF-8 files only; an initial UTF-8 BOM is removed when loading a file. CRLF and CR line endings are compared as LF. Text inputs stay unchanged; the comparison is not a byte-for-byte file check.
Enter text or load two files to begin.
Comparison preview
= matched · − removed · + added. Matching uses your selected options. Both source texts are shown when an ignored difference matches. Empty cells on an absent side are marked —.
Shows the first 300 result rows and up to 512 characters per text cell. The download includes every result row and the full text of each line.
Both documents are empty: no lines to compare.
| Change | Original line | Modified line | Original text | Modified text |
|---|
The UTF-8 report uses LF line endings. Columns: symbol, original line, modified line, original text, modified text. Text is JSON-quoted so empty lines, tabs and control characters are explicit. This report is not a patch file.
No upload, account or persistent storage. Keep your original files.