Compare Two Texts for Differences
Compare two texts and highlight differences line by line.
- No uploads
- No account
- No ads
- No watermarks
- Free forever
Network check starts when you add a file or change something in the tool
Blocks every fetch, XHR and beacon request this page makes and switches Google Analytics off, on tool pages, for this session.Requests this page makes are counted from then on; page-load requests are left out.
How this works / check it yourself
From the moment you add a file or change something in the tool, this badge lists the requests this page makes. It reads the browser's own list of requests (Resource Timing), which shows a request once it finishes, and watches every fetch, XHR and beacon call. Downloads, such as this site's PDF and OCR engines or an AI model from Hugging Face, are listed apart from requests that carry data out.
This page cannot see requests made inside background workers (such as the PDF engine pdf.js and Tesseract OCR), WebSocket and EventSource connections, form submissions, link pings or the site's service worker, so they are not counted here, and offline mode cannot block them. A request is listed once it finishes. Your browser's Network tab shows everything.
Offline mode blocks the fetch, XHR and beacon calls this page makes. A part of the site that set up its connection before the page finished loading, such as sign-in, is not blocked; if it sends anything, the badge counts it as sent.
- Open your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
- Add your file, run the tool and look for any request that uploads it. Requests made by workers are listed there too.
- For the strongest test, turn Wi-Fi off once the page has loaded and run the tool again: tools that need no download still work.
More tools in Text Tools
All Text ToolsAbout Text Diff Checker
Paste an original and a changed version of any text to see the differences line by line. Added lines are marked in green, removed lines in red, and the tool counts each. The comparison runs in your browser, so neither text is uploaded. It suits drafts, contracts, lists and notes.
How to use Text Diff Checker
- Paste the original text in the Original box.
- Paste the new version in the Changed box.
- Read the highlighted differences and the added and removed counts below.
Limits: Compares whole lines: a line with one changed word shows as removed and added. Spaces and letter case count as differences. Very large inputs (over about 2,000 lines each) are not aligned.
Frequently asked questions
How do I compare two texts for differences?
Paste the first version in Original and the second in Changed. Lines found only in the changed text are marked as added, lines found only in the original are marked as removed, and matching lines are shown plainly.
Does it highlight changed words inside a line?
No. It compares whole lines. If one word changes, the old line shows as removed and the new line as added. Read the two lines together to spot the word.
Does it ignore spaces or letter case?
No. Lines must match exactly. An extra space or a capital letter makes a line count as changed. Run both texts through the Remove Extra Spaces tool first if only the spacing differs.
How large can the texts be?
There is no set size limit. If the line count of one text times the other is over 4 million, for example 2,001 lines each, the tool skips alignment and shows every old line as removed and every new line as added.
Are my texts uploaded?
No. The comparison runs in your browser with JavaScript. Neither text is sent to a server.