Problem solved by Diff Anything macOSWindows

Find the changed lines in a long text file

An UltraCompare alternative for Mac: compare two text files, fold long unchanged sections with Compact and adjust the context around each change in Diff Anything.

See it in the app

Two price lists. Three changes to check.

No accounts, cloud comparison service, analytics, or telemetry.

Diff AnythingLooking for UltraCompare for Mac? Here's how to see only the differences between two versions of a long text file with Diff Anything: compare the two files, click Compact to fold away long unchanged sections, and choose "No lines around" to remove the surrounding context. Watch on YouTube

The problem

Why the usual workflow gets in the way.

Anna sends back a revised price list. Most of its 78 lines are unchanged. Scrolling both versions makes a new item or a small price increase easy to miss.

The solution

How Diff Anything handles it.

Compare the two files in Diff Anything, then turn on Compact to fold long unchanged sections. Choose No lines around to remove the surrounding context from the folded view. The demonstration leaves three differences to review. Your files stay on your Mac, with no AI involved.

01 / Compact text comparison

See the price changes and the added item

The tutorial compares a bakery’s November price list with Anna’s copy. A croissant changes from 1.90 to 2.10, a cardamom braid is added at 18.50 and hot chocolate rises from 3.40 to 3.60.

Diff Anything marks the two edited lines and the added line in the text comparison. The differences list on the right gives you the same three changes to review.

02 / Compact text comparison

Keep as much context as you need

Compact folds long stretches of unchanged lines into rows showing how many lines are hidden. The default keeps three lines around each change. Select No lines around for zero context, or keep more lines, up to 25.

Compact changes the view, not the files. Click it again to restore the full text. It folds large unchanged regions; short unchanged runs can remain visible. For comparisons with many changes, only the longest unchanged regions may be folded.

03 / Compact text comparison

An UltraCompare alternative that runs on your Mac

UltraCompare has a Mac version, compares files and folders and offers a filter for matches or differences. This guide shows Diff Anything’s own text-comparison workflow on Mac.

Open both local files, focus the view and check the changed prices without uploading the list. Diff Anything is not affiliated with UltraCompare or UltraEdit, Inc.

04 / Compact text comparison

Text comparison and Compact are included in Free

You can follow this plain-text workflow in the free version with files up to 5 MB each and 10 new comparison sessions per local day. Compact does not require Pro.

Pro removes those Free size and daily comparison limits. Choosing how many context lines to show does not change your source files.

Clear answers

Common questions about UltraCompare alternative for Mac.

Does Compact change or delete any text?

No. It folds unchanged regions in the comparison view. Click Compact again to show the whole file.

Why are some unchanged lines still visible?

The default keeps three lines around each change. Choose No lines around for zero context. Compact folds large unchanged regions, so short unchanged runs can still be visible; with many changes, only the longest regions may be folded.

Is this available in the free version?

Yes. Plain-text comparison and Compact are included in Free for files up to 5 MB each and 10 new comparison sessions per local day.

Is UltraCompare available for Mac?

Yes. UltraCompare offers a dedicated Mac version. This tutorial demonstrates a separate workflow in Diff Anything.

Are my files uploaded?

No. This comparison runs locally on your Mac, and none of your file data is sent to an AI model.

Three short steps

Compare the files, fold unchanged sections and choose the context.

  1. 01

    Choose Compare two files. Open the older price list first, then Anna’s revised copy.

  2. 02

    Click Compact, the button with two arrows pointing towards each other. Long unchanged sections fold away; the default keeps three lines around each change.

  3. 03

    In the menu beside Compact, choose No lines around. Review the differences in both texts and the list on the right. Click Compact again to show the whole file.

Available for macOS and Windows

Solve it with Diff Anything.