Text Diff & 3-Way Merger
Three-way merge tool: paste base text, version A, and version B. Highlights conflicts and lets you click to resolve.
console.log("Hi, " + name + "!"); console.log("Hello, " + name + ".");function multiply(a, b) {greet("Everyone");function greet(name) {
<<<<<<< Version A
console.log("Hi, " + name + "!");
=======
console.log("Hello, " + name + ".");
>>>>>>> Version B
}
function add(a, b) {
return Number(a) + Number(b);
}
<<<<<<< Version A
function multiply(a, b) {
=======
greet("Everyone");
>>>>>>> Version B
return a * b;
}
greet("World");How to Use Text Diff & 3-Way Merger
- 1
Paste both versions
Enter the original text and the modified version.
- 2
Review the diff
See changes highlighted as additions, deletions, and modifications.
- 3
Merge selectively
Choose which changes to accept or reject in the final output.
- 4
Copy merged text
Click copy to grab the merged result.
Related Tools
Word & Character Counter
Count words, characters, sentences, and paragraphs in any text instantly.
Text Case Converter
Convert text between uppercase, lowercase, title case, sentence case, and more.
Text to Speech Player
Paste text and hear it read aloud using Web Speech API. Adjust voice, speed, and pitch in real time.
Text Diff Comparison Tool
Compare two blocks of text side-by-side and highlight differences instantly.
Remove Duplicate Lines
Paste text and instantly remove duplicate lines while preserving order.
Text Cleaner
Strip extra whitespace, fix line breaks, and normalize text for clean output.