Code Diff Merger
Side-by-side line diff of two code snippets with stats.
Works Offline
Privacy First
No Login
No API
Original
Modified
Diff
Side-by-side line diff
Added
+2
Removed
-1
Unchanged
3
function greet(name) {
console.log('Hello ' + name);
}
function greet(name) {
console.log(`Hello, ${name}!`);
return true;
}
About the Code Diff Merger
Compare two blocks of code or text line by line with a side-by-side highlighted diff, and see counts of added, removed, and unchanged lines.
Examples
Compare functions
old codeOutput
highlighted diff with +/- statsRelated tools
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
Chmod Calculator
Dev Utilities
Unix permission calculator: checkboxes, octal, and symbolic.
Code Comment Stripper
Dev Utilities
Remove comments from JS, HTML, Python, or SQL source.
Cron Expression Builder
Dev Utilities
Build cron expressions visually with a human-readable description.
cURL to Fetch Converter
Dev Utilities
Convert a curl command into JavaScript fetch() code.
Dockerfile Linter
Dev Utilities
Lint a Dockerfile for common best-practice issues.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser