Diff Checker & Merge

Compare two texts or code files side by side, then merge changes line by line

Diff Checker is a side-by-side compare and merge tool for text and code. It aligns matching lines with the Myers diff algorithm (the one Git uses), highlights the exact characters that changed, and lets you merge each change from one side to the other with undo, redo and reset. Both editors are sized like an A4 page so long files stay readable.

How to use Diff Checker & Merge

  1. Add both files. Paste text or open files on the Original and Changed sides.
  2. Compare. Press Compare (Ctrl/Cmd+Enter) to see aligned, highlighted differences.
  3. Navigate. Use the arrows or Alt+Up/Down to move between changes.
  4. Merge and export. Keep a side for each change, then copy or download the result or a .patch.

Features

  • Split and unified layouts, ignore whitespace and ignore case options.
  • Change counter with next/previous navigation, overview ruler and keyboard shortcuts.
  • Open or drop files, copy or download each side, export a unified .patch.

Why use this tool

  • Spot every change: line alignment plus character-level highlights inside modified lines.
  • Merge like a desktop tool: copy changes across with one click, keep both, or take a whole side.
  • Works offline and privately: files are read and compared in your browser only.

Frequently asked questions

How do I compare two texts or files online?

Paste or open the original on the left and the changed version on the right, then press Compare (or Ctrl/Cmd+Enter). Matching lines are aligned side by side, removed lines are red, added lines are green, and the exact characters that changed inside a line are highlighted. Everything runs in your browser.

How do I merge changes from one side to the other?

Click a change to select it, then choose Keep Original, Keep Changed or Keep both. You can also use the arrow buttons in the middle gutter: the right arrow copies the left version across, the left arrow copies the right version back. Undo, redo and Reset let you back out of any merge.

How do I jump to the next difference?

Use the up and down buttons next to the change counter, or press Alt+Down and Alt+Up. The selected change is outlined and scrolled into view. The coloured ruler on the right edge shows where every change sits in the file; click a mark to jump straight to it.

Can I ignore whitespace or letter case?

Yes. Turn on Ignore whitespace to treat lines that differ only in spaces, tabs or indentation as equal, and Ignore case to treat upper and lower case as the same. Line endings (Windows CRLF versus Unix LF) are always treated as equal.

Does it compare line by line or character by character?

Both. Lines are aligned first using the same algorithm as Git (Myers diff), so an inserted line does not throw off the rest of the file. Inside each changed line you can highlight the differing words or individual characters with the Words and Chars switch.

Can I save the merged result or a patch file?

Yes. Each side has Copy and Download buttons, and once every change is resolved both sides match and you can copy the result in one click. The .patch button downloads a standard unified diff that works with git apply and the patch command.

Are my files uploaded when I compare them?

No. Files you open or drop are read by your browser and compared locally, so nothing is sent to a server. That makes it safe for source code, contracts and configuration files that contain private data. Files up to 5 MB can be opened.

Is my data shared when using the Diff Checker & Merge?

No. Toolskyt operates under a zero-server policy. All calculations, data formatting, and file exports are executed locally on your machine.

Do I need to sign up or pay to use the Diff Checker & Merge?

No, this tool is 100% free. There are no limits, sign-ups, subscriptions, or hidden charges required.

Is it safe to paste API tokens or private JSON data here?

Yes, absolutely. The tool executes 100% inside your local browser memory space. No inputs are sent to any servers.

Related tools

  • Text Diff — Compare two drafts word by word, highlight every edit and merge the ones you want
  • JSON Compare — Compare two JSON documents — ignores key order, lists every changed path, merge side by side
  • Find & Replace — Bulk find and replace with regex, case and whole-word options