compare two text files

I'm looking for powerful and free application to compare two text files on mac
for example com the contents of  file1.txt and file2.txt and highlight the differences side be side

you advice please...
Who is Participating?

Improve company productivity with a Business Account.Sign Up

PilouteConnect With a Mentor Commented:

There's lots of software that do what you want to. Check this list (look for apple icon) :

olliefeldeConnect With a Mentor Commented:
I've found this program to be useful. It's called TextMate and is free to try:;1
et01267Connect With a Mentor Commented:
The same items (emacs, xcode, eclipse) I listed in your other question (about code editors) also can do text compare and merging.
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

leewv1Connect With a Mentor Commented:
You could use the diff command in terminal.  diff will give you a line by line difference between 2 files. Type man diff on how to use it.  I created a  simple text file with 6 lines and then copied the file to file2 and appended a number to three lines.  Here are the results using the diff -y option

diff -y file1 file2
A                                                A
B                                                |      B1
C                                                C
D                                                |      D2
E                                                E
F                                                |      F3
G                                                G

Each column is a file.  The command places a pipe next to the line where there is a difference.  Try it.
rkharkoConnect With a Mentor Commented:
You can use a Google Docs feature to compare text files online from the web
see the instructions here
ThommyConnect With a Mentor Commented:
For Windows in my opinion there is no better free tool than WinMerge!!!

Here are some alternative tools for MAC...
nmokhayeshAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.