Text Diff
Compare two text files or strings. See additions, deletions, and modifications highlighted line by line.
Original Text
Modified Text
How Text Comparison Works
Our text diff tool uses a semantic differencing algorithm that goes beyond simple line matching. It identifies the smallest meaningful changes between your two texts, whether that's a single character edit or multiple line insertions.
What You Can Compare
- Source code files and snippets
- Configuration files (YAML, TOML, INI)
- Markdown and documentation
- Log files and output
- Any plain text content
Reading the Results
Green highlights show text that was added in the modified version. Red highlights show text that was removed from the original. Unchanged text appears without highlighting.