About online text comparison
Compare two text blocks line by line to spot additions and removals—useful for configs, logs, and contract edits.
Online Text compare capabilities
Line-based diff
Compares line by line (split on newline), not character-by-character—best for code, configs, and logs.
Limits
- Reordered lines show as delete+add pairs, not moves.
- Very long single lines (minified JSON) diff poorly—pretty-print first.
Common use cases
Config changes
See what changed between two .env or YAML snippets before deploy.
Log excerpts
Compare error stacks or access log slices from two time windows.
Copy edits
Review paragraph revisions when track-changes is unavailable.
Frequently asked questions
- Why does moving a line show as delete and add?
- Simple line diff does not detect moves—it only matches identical lines in order. Advanced tools use move detection; this page keeps the algorithm fast and readable.
- Can I compare binary or Excel files?
- No—paste text only. Binary files need specialized diff or hex tools.
- Is my text uploaded for comparison?
- No—both sides are diffed entirely in your browser.