developer

Code Diff Checker

Paste two versions of any text or code to instantly see what changed. Additions highlighted in green, deletions in red. Saves your last 5 comparisons to localStorage.

+3 added-3 removed
Original
Modified
Diff result
1function hello() {
2 console.log('hello world');
3 return true;
4}
1function hello(name) {
2 console.log(`hello ${name}`);
3 return name;
4}
Diffs saved locally

What is a diff checker?

A diff checker compares two versions of text or code and shows exactly what changed — what was added, removed or stayed the same. Essential for code reviews, comparing document versions or spotting changes in config files.

Your data stays private

All comparisons run in your browser using JavaScript. Your code never leaves your device. Recent diffs are saved locally for quick access.