도구 가이드
Developer 무료 회원가입 불필요

Code Diff Viewer

Side-by-side code diff with syntax highlighting and patch export

도구를 불러오는 중…

이 도구에 대해

Compare two code snippets side by side with a clear, color-coded diff. Added lines are highlighted in green, removed lines in red, and changed lines in orange. Line numbers are shown for both sides. Select the programming language for syntax-aware display. Export the diff as a standard unified patch file that can be applied with the patch command.

사용 방법

  1. 1 Paste the original (old) code into the left panel.
  2. 2 Paste the new code into the right panel.
  3. 3 Select the programming language from the dropdown for context.
  4. 4 The diff updates instantly — green lines are additions, red are removals, orange are changes.
  5. 5 Scroll both panels simultaneously to compare large files.
  6. 6 Click 'Copy Patch' to copy the unified diff to your clipboard.
  7. 7 Use 'Load File' buttons to compare files from your computer.

자주 묻는 질문

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}