Git Merge Conflict Explainer
Paste a file with git conflict markers and learn what each section means, then pick a resolution strategy to see the resolved output.
<<<<<<< HEAD
Start of your current branch version ("ours")
=======
Divider between ours and theirs
>>>>>>> branch
End of incoming branch version ("theirs")
Paste Conflicted File
Paste a conflicted file and click Parse Conflicts to get started.
Found 0 conflict block(s)
Resolved Output
Copied!
Summary
Paste a file with git conflict markers and learn what each section means, then pick a resolution strategy to see the resolved output.
How it works
- Paste your conflicted file content into the input area on the left.
- The tool highlights each conflict block and labels the HEAD, incoming, and base sections.
- Click on a conflict block to inspect it in the details panel.
- Choose a resolution strategy: keep ours, keep theirs, keep both, or write a manual merge.
- Click "Apply All" to generate the fully resolved file, then copy it to your clipboard.
- Use the quick-reference panel to review what each conflict marker means.
Use cases
- Understanding what <<<<<<, =======, and >>>>>>> markers mean in a conflicted file
- Learning the difference between HEAD (ours) and the incoming branch (theirs)
- Practicing conflict resolution strategies before applying them in a real repo
- Quickly resolving simple accept-ours or accept-theirs conflicts without a GUI tool
- Teaching junior developers how git merge conflicts are structured
- Resolving rebase conflicts where the incoming vs. current sides are swapped
- Generating a clean merged file to paste back into your editor
- Checking whether a conflict block has a common base section (diff3 style)
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu