Diff Merger
Merge two texts side by side online for free. Pick changes from either version and resolve conflicts visually. No signup.
Runs entirely in your browser — files never uploaded
How to use Diff Merger
- 1. Paste both versions. Enter the original text in Version A and the modified text in Version B.
- 2. Compare and resolve. Click Merge to see a line-by-line diff. For each conflict, click Use A or Use B to pick the version you want.
- 3. Copy the merged result. Once you're happy with the choices, copy the merged text or download it as a file.
FAQ
How does the diff algorithm work?
It performs a simple line-by-line comparison. Lines that match stay in the output; lines that differ are presented as conflicts for you to resolve.
Can I merge binary files?
No, this tool works with plain text only. For binary files, use a dedicated merge tool like Git.
Is there a size limit?
There's no hard limit, but very large texts (10,000+ lines) may slow down your browser.
Is my data sent to a server?
No. The diff and merge happen entirely in your browser. Nothing is uploaded.
Can I undo my choices?
Yes — click the opposite button (Use A / Use B) on any conflict line to switch your selection at any time before copying.
Related tools
- Base64 EncoderEncode text or files to Base64 or decode Base64 back online for free. Instant conversion, no signup, runs in your browser.
- JSON FormatterFormat and validate JSON online for free. Beautify with indentation, validate syntax, or minify. Runs in your browser, no signup.
- CSV ↔ JSONConvert CSV to JSON or JSON to CSV online for free. Live preview as you type or upload a file. No signup, runs in browser.
- Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps online for free. Supports seconds, milliseconds, ISO 8601. No signup.
- JWT DecoderDecode JWT tokens online for free. Inspect header, payload, and claims. Verify expiration and signature algorithm. No signup, runs in browser.
- Regex TesterTest regular expressions online for free with live match highlighting, capture groups, and flag toggles. Supports JavaScript regex. No signup.
Advertisement