Text & code / LING.TOOLS
Text diff
Compare two texts by character, word or line, highlight additions and removals, and copy a unified diff.
Result
Ready when you are
Set up your input and run the tool. Your result will appear right here.
Private · Instant · LocalGUIDE & CONTEXT
About this tool
Review edits without uploading either version. Character mode reveals small punctuation changes, word mode suits prose, and line mode is useful for code or configuration. A unified diff provides a portable textual summary, while visual highlighting makes additions and removals easier to scan.
How to use it
- Paste the original text and the modified text into their respective fields.
- Choose character, word or line comparison.
- Compare the highlighted changes and copy the unified diff when you need a text-only result.
Example
Comparing const limit = 10; with const limit = 20; in character mode highlights the changed digit.