Code Diff
Tool guideCompare two code snippets with syntax highlighting and unified/split diff views
Input: This tool processes input in your browser. Check in Network (opens in a new tab)
Language:
Context:
Original
Modified
Tool guide
Back to workspacePaste two code snippets to compare with syntax-highlighted diffs. Choose between unified and side-by-side (split) views. Supports JavaScript, TypeScript, JSON, CSS, YAML, XML, SQL, and Markdown with auto-detection. Navigate between changes with keyboard shortcuts. Ignore whitespace option. All processing runs in your browser.