Developer
All toolsText Diff Checker
Compare two text blocks line by line and spot changes.
Original
Changed
Diff
JSON formatter - Base64 encoder + JWT decoder URL encoder
Frequently asked questions
- What's the difference between a line diff and a character diff?
- A line diff treats each newline-separated row as the smallest unit, which is fast and matches how code reviews work. A character or word diff highlights changes inside a single line and is better for prose or short strings.
- Why do diffs show whole lines as changed when only one word moved?
- Most diff algorithms compare line by line, so any edit on a line marks that line as removed and a new one inserted. Use an inline or word-level view when you need to see the specific tokens that differ.
- Will trailing whitespace and line endings affect the diff?
- Yes - a stray space at end of line or a CRLF versus LF mismatch will register as a real change. Normalize line endings or enable a whitespace-ignoring mode if you only care about content differences.