guide · large files

Compare large files on Windows

A log file of several hundred megabytes, two database exports, a big CSV, a disk image: many comparison tools slow to a crawl on files this size or refuse to open them. Diffoniq compares a 100 MB text file in about 2.7 seconds and shows every change side by side, with the identical parts folded away so you see only what differs.

The short version: press Ctrl+O and enter both files, then press F7 to hide the identical passages and Tab to go from change to change. Text files up to 2 GB open line by line; larger files are compared byte by byte and Diffoniq tells you where they part.

1. Open both files

Start Diffoniq and press Ctrl+O, or drag both files from File Explorer onto the window, or start it with both paths:

"C:\Program Files\Diffoniq\Diffoniq.exe" "D:\logs\server-monday.log" "D:\logs\server-tuesday.log"

That is the installer’s path; the portable version runs from the folder you unpacked it to. A text file is not copied or converted first: Diffoniq reads both files, compares them and shows the result.

2. How long it takes

Measured on a desktop PC (8-core Ryzen 7 5800X, 32 GB of memory, files on an SSD) with Diffoniq 2.4.1, time from the start of the comparison until the result is on screen, files already read once:

FilesTime until you see the result
Two text files of 100 MB, changes spread through the fileabout 2.7 seconds
Two text files of 500 MBabout 14 seconds
Two folders of 100,000 files eachthe tree is ready to browse after about 1.5 seconds; file contents are checked in the background

The first read of a file from disk depends on the disk. Your times will differ with the machine and with the files; what stays is the order of magnitude: seconds, not minutes.

3. See only what changed

In a file of a million lines, the changes are a few dozen. Press F7 (Hide Matching Areas) and the identical passages fold away: what remains is every difference with a few lines of context above and below it. Tab jumps to the next change, Backspace to the previous one. The overview bar beside the scroll bar maps the whole file and marks every place where the two sides differ, so one look tells you how many changes there are and where they lie; click a mark to go there.

Ctrl+G jumps to a line number, Ctrl+F finds text in either file and shows how many matches there are. The status bar counts the changed, added and removed blocks.

4. Files over 2 GB, and files that are not text

A text file larger than 2 GB, a disk image, a video or a database file opens in the byte comparison instead of the line view. Both files are read once, side by side, and each pane shows the file size, whether the contents are identical and, if not, the offset of the first differing byte with the bytes each side has there. A file that simply ends where the other one continues, a typical broken download or copy, says so. For identical files you also get the content hash, the same value the folder comparison uses. Details: Binary Comparison.

5. Large folder trees

The same goes for folders. Compare two trees of a hundred thousand files and the tree appears as soon as both sides are listed: files that differ in size are marked at once, files of equal size are checked by content in the background, with a progress bar on each row that is still being read. You can browse the tree while that runs. Diffoniq keeps a cache of content hashes, so comparing the same large tree again finishes in a fraction of the first run’s time. How to compare two folders step by step: Compare two folders on Windows; for a backup on a NAS: Verify a backup.

6. From a script

For a nightly job, the same comparison runs without a window and writes a report:

"C:\Program Files\Diffoniq\DiffoniqC.exe" /report "D:\export\monday.csv" "D:\export\tuesday.csv" --out changes.html

The extension of the output file picks the format (HTML, text or JSON), and the exit code tells your script whether the files differed. Details: Comparison Reports.

Questions

Is there a size limit? Text files up to 2 GB open in the line view. Larger files are compared byte by byte, with the offset of the first difference; no file is refused for its size.

Does Diffoniq change my files? No. Comparing reads both files and writes nothing; a file is only written when you take lines over and press Ctrl+S.

Do I need to unpack a large ZIP first? No. Archives open like folders, also an archive inside an archive; see Compare two ZIP files.

Which Windows versions does it run on? Windows 10 and 11, 64-bit.

Try it on your own large files

Diffoniq runs on Windows 10 and 11, 64-bit. Every feature is available for 30 days before you decide.

Windows is a trademark of Microsoft Corporation. Diffoniq is not affiliated with Microsoft.