Text Diff Checker
Paste two versions of the same text and see what changed. Added lines are green, removed lines are red, and both sides keep their own line numbers. Inserting a line does not turn everything below it red.
Text Diff Checker
Added
2
Removed
1
Unchanged
3
11The quick brown fox
2jumps over the lazy dog.
2leaps over the lazy dog.
33Pack my box with five
44dozen liquor jugs.
5Sphinx of black quartz.
How to use it
- Paste the original into the left box and the changed version into the right.
- Read the counts — added, removed, unchanged — then scroll the comparison below them.
- Turn on "ignore leading and trailing spaces" if indentation changes are cluttering the result.
- Turn on "ignore case" when only capitalisation differs and you do not care about it.
- If two lines look identical but show as different, an invisible character is usually the cause.
Frequently asked questions
- Does it compare word by word or line by line?
- Line by line. Changing one word marks the whole line as removed and re-added. That suits code and configuration; for prose, a word-level tool reads more naturally.
- Is my text uploaded anywhere?
- No. The comparison runs entirely in your browser, which is the point for contracts, config files with hostnames in them, or unreleased copy. Nothing is transmitted or stored.
- How large a text can it handle?
- Comfortably into the thousands of lines when the two mostly agree, because the identical head and tail are skipped first. Two entirely different large documents hit a safety cap and are shown as a wholesale replacement.
Related tools
- Word CounterCount words, characters, sentences and paragraphs as you type, with reading and speaking time. Handles Chinese and Sinhala. Nothing uploaded.
- Case ConverterSwitch text between camelCase, snake_case, kebab-case, Title Case and eight more. Handles acronyms correctly. Includes a URL slug maker.
- JSON Formatter and ValidatorPretty-print, minify or sort JSON, and get syntax errors reported by line and column with the offending line shown. Runs entirely offline.
Built and maintained by Kavitha Kanchana
Software engineer at Cortana AI and co-founder of Ryzera Technologies, based in Sri Lanka. Found a bug or a wrong number? Email me.