Git Merge Conflict Resolver
Splits a file with Git conflict markers into ours and theirs versions, lets you pick a side per hunk and outputs the resolved file.
Seeing both sides before you pick one
The merge hit a conflict and the file came back with those angle-bracket markers sitting in the middle of your code. In the editor, with broken indentation and both versions jammed together, it is easy to delete the wrong line and only find out at code review. Paste the whole file here and each conflict appears on its own, with each branch's side in a separate block and the line numbers involved.
For every conflict you choose what stays: your side, the incoming side, both in sequence, or, when the merge used diff3, the base version the divergence came from. The tool reassembles the file with your choices applied and hands back a result ready to paste, leaving the rest of the file untouched and keeping the original line ending, whether LF or CRLF.
The summary flags the cases usually resolved on autopilot: conflicts where both sides are identical, and those where one side is empty, typical of reordered imports. Orphan markers left by a botched hand edit show up as a warning rather than breaking the parse. The pasted file never leaves the browser, so it is safe to use with work code.
Frequently asked questions
What do HEAD and the name after the arrows mean?
Does it resolve the conflict for me?
Does it handle merges made in diff3 mode?
Related Tools
.gitignore Generator
Generate a .gitignore by combining language/IDE templates — Node, Python, Java, Go, Rust, .DS_Store, JetBrains, VSCode etc. Everything in your browser.
Git Cheatsheet
Searchable list of the most-used git commands — config, commit, branch, merge, rebase, stash, log, remote, reset. With copyable examples. Everything in your browser.
Hexdump
View any text as a canonical hexdump (offset / hex bytes / ASCII), like Unix `hexdump -C`. Useful to inspect binary data, encoding and invisible separators. Everything in your browser.