Text Diff Checker
Compare two texts and highlight differences between them.
Compare two versions of a text and see exactly what changed. Paste the original and the new version, then compare by lines, words or characters: additions are highlighted in green and deletions in red and struck through. You can ignore differences in case and whitespace. It's useful for contracts, essays, code snippets and any text where you need to spot edits. Both texts stay in your browser.
Common use cases
- See what changed between two drafts of a document
- Compare two versions of a config file or code snippet
- Check what an editor or colleague changed
How to use
- Paste the original text on the left and the changed text on the right.
- Choose lines, words or characters.
- Tick ignore case or whitespace if needed.
- Read the highlighted differences.
FAQ
Lines, words or characters?
Lines suit code and lists, words suit prose, and characters find tiny changes such as a single digit or a missing comma.
Can I compare JSON?
Yes, but the JSON diff tool compares the data itself, so key order and formatting don't show up as changes.
Related tools
- String Similarity CheckerCalculate similarity percentage between two text strings.
- Hamming Distance CalculatorCalculate the Hamming distance between two equal-length strings.
- Character CounterCount total characters, letters, digits, and spaces in your text.
- Emoji CounterCount and list all emoji characters in your text.
- Emoji StripperRemove all emoji characters from text content.
- Word ScramblerScramble letters within words for puzzles and games.