Text tools
Text Diff
Compare two local texts or files and download their exact line changes as a patch.
Runs locallyComparison result
Runs locally in your browser
Both documents: up to 1 MB and 20,000 lines combined. Output: up to 2 MB.
Guide
Compare two versions of text to see which lines were added or removed. Keep the earlier text in Before and the revised text in After. Download the comparison as a patch if you want to keep the differences.
- Add your input
Paste into Original and Changed, open one file for each, or use Example changes.
- Read the result
Choose Compare. Added lines start with + and removed lines start with -. No differences means the texts are identical.
- Keep your work
Download saves comparison.patch: a plain-text list of changes in unified diff format. Open it in a text editor. Copy output or Download keeps the full patch, even when the preview shows only the first 1,000 lines.
Both source texts stay visible on mobile. Clear removes both documents and the result.
Reading changes
- Original: the text before your changes.
- Changed: the text after your changes.
- Added lines start with +; removed lines start with -. Whitespace differences also count.
- Download saves comparison.patch, a plain-text list of changes that you can open in a text editor.
Shortcuts
- Ctrl / Cmd + Enter — Run selected action
- Ctrl / Cmd + Shift + C — Copy output
- Ctrl / Cmd + S — Download output
- ? — Show shortcuts outside text fields
Shortcuts work while focus is in the workspace. Copy and download need valid output.
Common questions
- Can I use this offline?
- After Available offline appears, this tool can process new local input without a network connection. App files are cached, never your document.
- Is my input uploaded?
- No. Processing happens in this browser. Files and results are not saved between visits.
- What are the limits?
- Both documents together: up to 1 MB and 20,000 lines. Output up to 2 MB, processing up to five seconds. Whitespace and line endings are significant.
Was this tool helpful?
Only your rating and optional feedback are sent. Your tool input and output are never included.