Free Online Text Diff Checker
Compare two texts and see added, removed and unchanged lines, words or characters.
Original text
Changed text
Differences
− The quick brown fox+ The quick red foxjumps over the lazy dog. Same line here. − Old last line.+ A brand new last line.+ Extra line.
Green is added, red is removed. Colour is not the only cue: lines also start with + or −.
How to use
Paste the original text into the left box and the changed text into the right box.
Choose to compare by lines, words or characters.
Turn on Ignore case or Ignore extra spaces if those differences do not matter.
Read the highlighted result and statistics, or copy it as text.
Why use this tool
Three levels of detail
Lines for files and code, words for edited writing, characters for typos.
Accessible highlighting
Changes use a + or − marker as well as colour.
Ignore case and spacing
Skip changes that do not matter.
Copy as text
Share the difference in a ticket, email or chat.
About this tool
The Text Diff Checker compares two pieces of text and shows exactly what was added, removed or left unchanged. Paste the original on one side and the changed version on the other, and the differences are highlighted at once. Each change has a + or − marker as well as a colour, so it is easy to read for everyone.
Compare by line for documents, configuration files and code, by word for edited writing such as an essay or a contract, or by character to find a single typo. Ignore differences in case or extra spaces when they do not matter, swap the two sides with one click, and copy the result as plain text to paste into a ticket, email or review.
It suits checking a revised document against the old one, comparing two versions of a config or script, or spotting what changed between two copies of the same text. For JSON, tidy both sides with the JSON Formatter first, or use JSON Compare to compare data by structure.
Frequently asked questions
It finds the longest sequence of lines, words or characters the two texts share, and marks everything else as added or removed. This is the same idea used by tools like Git.
Up to 5,000 lines, words or characters per side. Larger texts show a message suggesting a coarser mode, such as lines instead of characters.
Yes. Lines mode suits code. For JSON, format both sides with the JSON Formatter first so that formatting differences do not show up.
It is the share of units that stayed the same.
Paste the first text on the left and the second on the right. The differences are highlighted straight away. Choose lines, words or characters to set how detailed the comparison is.
Copy the text from each document into the two boxes. Added text is marked with + and removed text with −, and the summary shows how much stayed the same.
Open each file, copy its text and paste it into the matching box. For long files, compare by line.