DiffForge
📄
Drop your .diff or .patch file here
Max size: 5MB — Supports .diff, .patch, .txt
or paste diff content below
No diff loaded
Provide your diff content or files above to see the visualization.
PrivateSecureFree

Diff Forge — Visualize Code Changes Instantly

The fastest diff visualizer to inspect code changes, review patches, and share formatted diffs. Whether you're reviewing a pull request, auditing a release, or debugging a deployment — DiffForge shows exactly what changed and why. 100% client-side. No uploads. No tracking.

Instant Diff Visualization

Paste any unified diff or upload a .patch file and see a beautiful, color-coded diff in seconds. Supports all standard git diff formats with added/deleted line highlights at the word level.

parser.ts
import { readFile } from 'fs';
+import { readFile } from 'fs/promises';
+import { resolve } from 'path';
export async function parseConfig(path) {
return JSON.parse(await readFile(...));
+3 additions–1 deletion

Side-by-Side & Line-by-Line Views

Switch between split side-by-side view (great for comparing long files) and unified line-by-line view (perfect for quick inline reviews) with a single click. No reload required.

Original
import React;
const App = () =>
<Main />
Changed
import React;
const Dashboard = () =>
<Main />

Export & Share

Download a complete, self-contained HTML file with embedded styles, metrics summary, and interactive collapse — ready to share with teammates or attach to a code review document.

📄diff-output.html
DiffForge Report
2 files changed
+47 additions
–12 deletions
🔒 100% Client-Side