Text Diff Checker
Compare two text blocks and quickly find lines that were added or removed.
Added Lines
Removed Lines
What is Text Diff Checker?
Text Diff Checker compares two blocks of text and highlights lines that were added, removed, or changed. It is useful for reviewing document edits, comparing config file versions, or spotting changes in copied content.
How to use
- Paste the original text into the left (Original) box.
- Paste the modified text into the right (Modified) box.
- Click Compare to see the diff. Added lines are highlighted in green, removed lines in red.
Notes
- Comparison is line-by-line. Inline word-level diffing is not performed.
- Empty lines count as lines and are included in the comparison.
- The tool works entirely in your browser Etext is not uploaded anywhere.
FAQ
- Can I compare code files?
- Yes. Paste the contents of any plain text or code file. The diff is line-based, which matches how most code review tools work.
- Does it detect moved lines?
- No. Lines that are moved to a different position are shown as a deletion in the old location and an addition in the new location.
- Is the comparison case-sensitive?
- Yes. "Hello" and "hello" are treated as different lines.
Embed this tool
Paste this iframe into any HTML page to embed Text Diff Checker on your site:
Related Tools
-
Text Word Counter
Count words, characters, sentences, and paragraphs instantly in your text.
-
Text Case Converter
Convert text to UPPERCASE, lowercase, Title Case, or Sentence case in one click.
-
Remove Duplicate Lines
Remove repeated lines and keep unique lines in your text with one click.
-
Text to URL Slug
Convert any text into a clean, URL-friendly slug for pages and posts.
-
Lorem Ipsum Generator
Generate lorem ipsum paragraphs quickly for mockups and draft layouts.