Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My favorite file comparison tool was Beyond Compare but since I recently switched to OS X, i'm no longer able to use it and I'm looking for an alternative, preferably a free one.

Update: I made the mistake not to specify that I am also looking for a tool that does directory comparison, not only files. Because this could make the already answers invalid I made another question for this What directory comparison tools can I use on OS X?


locked by patrix Dec 12 '15 at 7:24

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

See my answer to your other question. Ditto anthonyg's recommendation. – JRobert Mar 15 '11 at 12:58

16 Answers 16

up vote 22 down vote accepted

Beyond Compare 4 now runs also on OSX. Visit

As a long time user of Beyond Compare (over 10 years), I could say that the only thing that I was missing from my old Windows period was BC. Now @orangebreeze will get a lots of votes as there is nothing so good as BC and I tried most tools. – sorin Jun 29 '15 at 14:48

This is an aggregation of the answers posted on SO's deleted clone, Graphical diff for Mac OS X. It includes links to each product, and the current price since last edit in USD.

Note that any links to SO will only be visible to users who can view deleted content, which requires either moderator privileges or 10k reputation on that site.

There were some other suggestions, which were not diff tools in their own right, which I will list below:

That about wraps up that thread's merge into this one, as covered here.

For anyone using MacPorts kdiff3, meld, tkdiff, listed above, as well as xxdiff are all available through port install. – Ioannis Filippidis Jul 29 '13 at 23:33
I tried meld via Macports and a huge number of dependencies were required. I have since shifted to using TextWrangler's diff. This does directory comparisons and you can merge changes line by line. It doesn't do three way compare though. – Jason S Dec 1 '13 at 6:25
FWIW meld is also available via brew. brew install meld. – commadelimited Feb 11 '14 at 19:28
P4Merge is free, very nice, can be used as both a diff and merge too, doesn't need to be downloaded with a perforce client anymore, and can even visually diff images! Download here – Brad Parks Dec 9 '14 at 14:51
Thank you so much.. TextWrangler is realy easy to use. – RDC Aug 26 '15 at 9:31

FileMerge is bundled with XCode, but I prefer Kaleidoscope which is not free.

To find FileMerge (assuming you have XCode) ...start up Xcode and choose 'Xcode' menu -> Open Developer Tool -> FileMerge. Or you can avoid starting up XCode by poking around in /Applications/ – Harry Wood Nov 29 '13 at 13:28
When Harry Wood says "poking around" he means typing in the terminal: open /Applications/ – Roberto Apr 14 '14 at 19:43
@Roberto or via Finder -> Go -> Go to folder... (Cmd+Shift+G) – nuc Jun 12 '14 at 22:57
@HarryWood @Roberto you can open filemerge from console without needing to poke around: opendiff file1 file2 – WickyNilliams Dec 17 '14 at 15:09
Came here to find out how to open filemerge (i always forget!), and noticed i'd already left a comment explaining how in the past *high fives past self* – WickyNilliams Jul 22 '15 at 11:47

I use Kaleidoscope. Or just plain, old diff from the CLI


It is not great, but the FileMerge bundled with the OS can be launched from the command line as opendiff a.txt b.txt.

this saves my day. Thanks @thilo – leon Jul 26 '14 at 2:29

DiffMerge from Sourcegear is simple and free.

It looks to be much better than the FileMerge from XCode, thanks. – sorin Mar 16 '11 at 17:25

You can use diff if you're using the command-line.

share has a great reputation and lots of features. Kaleidoscope is great too, and has a beautifully designed UI.

It's also worth mentioning if you're doing programming that Xcode 4 has visual diff tools built in now too.

+1 for Is the only one with a GUI which you can ignore both leading and trailing whitespaces.. – nuc May 2 '13 at 7:13
Changes was acquired by BitBQ in October of 2012. The latest link for changes is: – Matthieu Cormier Nov 30 '13 at 12:23

There's also DeltaWalker.

It's $40, and there's a trial available.


Here are which I've found:

  • FileMerge (opendiff)

    It's bundled with Xcode with Command Line Tools installed

  • DiffMerge It's bundled with Xcode with Command Line Tools installed

  • vimdiff

    It's free and open source. Install by: brew install vim.

  • Meld

    Can be installed using Homebrew via command: brew install meld, but probably it won't work.

  • KDiff3

    Can be installed using Homebrew via command: brew install kdiff3

  • TkDiff

    Can be installed using Homebrew via command: brew install tkdiff

  • TextWrangler

  • VisualDiffer

    Available at App Store

  • Kaleidoscope

    Commercial with free trial.

  • Araxis Merge

    Commercial with free trial.

  • Changes

    Commercial with free trial.

Check also Comparison of file comparison tools at Wikipedia for the full list.


There are a great many comparison tools available. Many do directories and files. Some even perform as merge tools (2 and 3 way). Of these some have already been mentioned in other answers and your choice will depend on what features you require, and how much you are prepared to pay for the tool. There is a good Wikipedia page with a comparison of many of the better known ones.


I use Folder Sync It costs $8.99 on the Mac App Store. It works really nicely.


P4Merge is a free, very nice diff and merge tool. It can:

  • Diff files
  • Do 3 way merges
  • Do Folder diffs
  • Visually diff 2 image files!

Download it here for Mac and Linux

Some screenshots:

enter image description here

Visual diff of an image: enter image description here


This tool

  1. Web based, so it is compatible
  2. Mobile friendly
  3. Save comparison up to 6 months
  4. Share comparison via URL
  5. It is free!

vim also has built-in support for side-by-side diff -

vim -d file1 file2

Here is a page describing vim diff mode in detail -


GitX-dev is a fork (variant) of GitX, a long-defunct GUI for the git version-control system. It has been maintained and enhanced with productivity and friendliness oriented changes, with effort focused on making a first-class, maintainable tool for today's active developers.

enter image description here


Not the answer you're looking for? Browse other questions tagged or ask your own question.