Compare two texts and find every change
Paste an old version on the left and a new version on the right, and this text diff checker marks what was removed in red and what was added in green. It is built for editors who get a revised draft back, for developers who compare two config files, and for anyone who needs to know exactly what changed between two copies of a text.
Differences by line, by word or by character
Line mode gives a side by side comparison like a code review, and it also highlights the changed words inside a changed line. Word and character modes show a single inline view, which is better for a reworded sentence or a typo fix. You can ignore case and spacing, hide unchanged lines, and copy the result as a patch.
How to use Text Diff Checker
- Paste the original text on the left and the changed text on the right.
- Choose to compare by line, word or character, and pick side by side or inline view.
- Tick the options you need, such as ignore case, ignore spacing or show only changes.
- Solve the security check and press Compare.
- Read the colored result and the totals, then copy or download the diff.
About Text Diff Checker
The tool uses the Myers difference algorithm, the same idea behind Git. It finds the smallest set of removed and added pieces that turns the first text into the second. In line mode, a removed block followed by an added block is shown as a changed pair and the words inside each pair are compared again to highlight the exact edit. Similarity is twice the number of unchanged pieces divided by the pieces in both texts. Ignore case and ignore spacing change how pieces are matched, while the text shown stays as you typed it.
Purpose of Text Diff Checker Tool
Use it to review a proofread document, check what a colleague changed in a contract or a script, confirm that two exports are the same, compare two versions of a product description, or spot a hidden typo between two similar lists.
Limitations of Text Diff Checker
- The comparison is plain text. Formatting such as bold, tables or images in a Word file is not compared, only the words you paste.
- Moved paragraphs are shown as one removal and one addition, not as a move.
- Character mode is limited to 20000 characters per side. Line and word modes accept up to 1 million characters per side.
- If two texts are almost completely different, the result is shown as one replaced block instead of a detailed diff, so the page stays fast.
- Only the first 2000 result rows are drawn. The copied or downloaded diff always contains everything.
Privacy and data
Text Diff Checker runs entirely in your browser. What you type or select is processed on your own device and is never sent to or stored on our server. See our Privacy Policy for details.
Frequently asked questions
How do I compare two texts and find the differences?
Paste the original text in one box and the changed text in the other, then run the comparison. Added, removed and changed parts are highlighted, side by side or inline, by line, word or character.
Can I ignore capital letters and extra spaces?
Yes. Tick Ignore case and Ignore spacing. Lines that differ only in capitals, indentation or the number of spaces are then treated as the same.
Is the text diff checker free and safe to use?
Yes. The text diff checker is free to use and runs in your browser, so your two texts is not uploaded, stored or logged.
What is the difference between line, word and character mode?
Line mode compares whole lines and is best for lists, code and documents with one idea per line. Word mode compares each word and is best for edited sentences. Character mode shows single letter changes and is best for typos and short strings.
How do I compare two versions of a document?
Copy the text of each version, paste the old one in one box and the new one in the other. The differences are shown side by side or inline.
Rate Text Diff Checker
No ratings yet. Be the first to rate this tool.
Report a bug or give feedback
Popular tools
Morse Code to Text
Decode Morse code made of dots and dashes into readable text, with flexible separators and error marking.
Text ToolsWebpage URL to Text
Turn a web page address, pasted page source or an HTML file into clean readable text without ads and menus.
Text ToolsASCII to Text Converter
Decode decimal, hex or octal ASCII codes into text, with auto-detection, a code table, control-character names and clear errors for bad codes.
Text ToolsBinary to Text Converter
Decode binary into text as UTF-8, 7-bit ASCII or 16-bit UTF-16, with or without spaces, and find exactly what is wrong when it will not decode.
Text ToolsBMI Calculator
Work out your BMI, category and healthy weight range in metric or imperial units.
Health ToolsBullet List Generator
Turn lines, commas or sentences into a bullet, numbered or checklist, with nested levels, as text, Markdown or HTML.
Text Tools