v1.6 Free & open source · Windows · macOS

Spot every difference.
Keep only the right ones.

A modern compare, merge and sync tool for files, folders, archives, cloud drives and databases. Compare, merge and sync with previews before anything changes, all in a native app built on Rust.

Windows 10/11 installer · macOS for Apple Silicon and Intel · signed automatic updates

PCompare Text Compare: side-by-side diff of two Rust files with word-level highlights
15comparison viewers
4database engines
12cloud & remote backends
CLIscripts, switches & exit codes

One app, every kind of compare

Drop two things on the window. PCompare picks the right viewer.

Text, folders, spreadsheets, images, binaries, registry keys, executables, audio tags and live databases, plus merge, sync and review tools around them.

Text Compare

Editable side-by-side diff with word-level highlights, Patience or Myers, ignore rules for whitespace, case and regex-defined text. Saves with the original encoding, BOM and line endings.

Text Merge

2- or 3-way merge against a common ancestor. Non-conflicting changes merge automatically; take left, right, both or base per conflict. Works as a git mergetool.

Folder Compare

Parallel recursive scans that stream rows in as they are found. Quick tests by size and timestamp, then binary, CRC-32 or rules-based content compare.

Folder Sync

Update, mirror or two-way sync with history. Every copy and delete is previewed, journaled and reversible.

Folder Merge

3-way merge of whole folder trees: changes, additions, deletions and conflicts each get a proposed action, and text conflicts open in Text Merge.

Table Compare

Cell-by-cell CSV/TSV, Excel and ODS workbooks and HTML tables. Align rows on key columns, ignore columns, set a numeric tolerance.

Picture Compare

PNG, JPEG, GIF, BMP, TIFF, WebP and more. Side-by-side, difference, blend and swipe views with per-channel tolerance and synced zoom.

Hex Compare

Streams files of any size, aligns inserted bytes and jumps straight to the next differing block.

Database Compare

Schema and data compare for SQL Server, MySQL/MariaDB, PostgreSQL and SQLite. Pick changes with arrows and review them in plain English.

Registry Compare

.reg exports (REGEDIT4 and v5) or live keys such as HKLM\Software\Vendor, value by value.

Version Compare

Version resources of .exe and .dll files plus PE facts: architecture, timestamp, ASLR/DEP/CFG and signatures.

MP3 Compare

ID3, APE, Vorbis and MP4 tags of MP3, FLAC, M4A, OGG/Opus, WAV and AIFF, with audio properties and cover art.

Text Edit

Edit a single file with syntax colours, find & replace, bookmarks, encodings and line endings.

Patch Viewer

Browse a .patch or .diff file by file, then apply it to a folder and compare the result.

Comparison Archive

Save a comparison with its bookmarks and comments as a .pcmpz and hand it to a reviewer, read-only.

Documents too

Word (.docx, .doc), OpenDocument, RTF and PDF are converted to text and compared like any other file. Zip, tar and 7z open as folders.

Product tour

See it in action

Made for daily work

The details that save you an afternoon

Similar isn't different

Rules-based compare treats encoding, line-ending, whitespace and regex-matched changes as unimportant, so only real edits show in red.

Live re-compare

Folder, text and hex sessions refresh themselves when either side changes on disk. Remote sides are polled every 30 seconds.

Huge folders, instantly

Rows appear while the scan runs. A CRC cache in an embedded scan database lets rescans skip files that haven't changed.

Sessions & workspaces

Save any comparison with its view settings (Ctrl+Shift+S), or save every open tab as a workspace. Closed comparisons are kept as recent sessions.

Reports

HTML, text, CSV or unified-patch reports of text, folder and table comparisons, to save, copy as rich text or print.

Your shortcuts

Every shortcut can be rebound. F1 opens help for the view in front, and a getting-started guide covers the essentials.

Light, dark, yours

Light and dark themes, custom colour schemes and syntax highlighting for common languages.

Explorer integration

“Select left side” and “Compare to…” in the Windows Explorer menu. Multi-select two items and compare them in one click.

Signed updates

Checks GitHub Releases at startup and every six hours. Install and restart in one click; every package is signature-verified.

Folder Sync

Sync that's afraid of losing your files

Every sync shows a preview of each copy, delete and new folder, with a checkbox per item and per-row overrides. Then the executor treats your data like it's the only copy.

  • Pre-flight checks for free space, write access and nested folders, and a warning before mirroring from an empty (unmounted?) folder.
  • Atomic copies flushed to disk and swapped into place, with optional read-back checksum verification.
  • Never overwrites surprises. Files changed since the preview are left alone; sources modified mid-copy are retried.
  • Locked files are retried with backoff, then deferred, skipped or stop the run. On Windows the report names the program holding the file.
  • Journaled runs. Resume or roll back after a crash, retry failed items, or undo a finished sync. Deleted files go to the Recycle Bin, Trash or a versioning folder.
  • Two-way with history. Deletions propagate; edits on both sides become conflicts you settle by rule: skip, newer wins, left or right wins.
Folder Sync preview listing each copy, delete and new folder with per-item checkboxes
Sync Automation page with scheduled tasks, triggers, status and run history

Sync Automation

Set it once. Get told when it breaks.

Turn any folder sync into a task that runs on its own from the system tray, starting quietly with your computer.

  • Triggers: daily or weekday schedules, every N minutes, cron expressions, at startup, or real-time when files change.
  • Safety policies abort a run that would delete most of a folder, and catch up on missed runs.
  • Alerts to Microsoft Teams, Slack, email (SMTP), webhooks or the desktop, with secrets kept in the OS keychain.
  • Run history with retries, conflicts, bytes copied and the full message for every failure.

Database Compare

Schema and data diffs without writing a single script

Point PCompare at two databases and see every table, view, procedure, function, trigger and sequence side by side with its DDL, and every row matched by primary key with cell-level differences.

SQL ServerMySQL / MariaDBPostgreSQLSQLite
  • Pick with arrows. Copy an object, a group, a table or a single row left or right with ← / →.
  • Review in plain English. “Update the table customers to match Dev: column email will be added”. Destructive steps are flagged before you apply.
  • Runs all-or-nothing in the target's own dialect, dependency-ordered and transactional. The SQL stays one click away under “Show SQL”.
  • Saved connections with passwords in the OS keychain, SQL Server Windows authentication and named instances.
Database Compare review dialog describing schema changes in plain English

Cloud & remote

Either side can live anywhere

Save a connection profile once, then use remote://<profile>/path (or the globe button) on either side of any compare or sync. Secrets stay in the OS keychain and saved profiles are encrypted with AES-256-GCM.

Amazon S3Cloudflare R2MinIOWasabiAzure BlobGoogle Cloud StorageBackblaze B2FTP / FTPSSFTPWebDAVOneDriveSharePointDropbox & Dropbox TeamsGoogle DriveGitHub repositories

One-click sign-in

Microsoft, Google and Dropbox sign in through the browser with PKCE. No keys to copy around.

Branches as folders

Compare two branches of a GitHub repository without cloning, or any local revision with git:, hg: and svn: sides.

Archives & snapshots

Zip, tar and 7z browse and edit like folders. Save a folder as a .pcsnap snapshot and compare against it later.

Command line & scripting

Built for scripts, hooks and CI

PCompare speaks the common compare-tool switches, script language and exit codes, so existing CI jobs, hooks and nightly scripts run unchanged.

  • pcompare @nightly.txt runs compare scripts headlessly: load, filter, select, compare, sync, reports, snapshots and more.
  • /qc quick compare and /automerge merge without opening a window.
  • One click sets PCompare up as git's difftool and mergetool, with --wait. Snippets for Mercurial, Perforce and Subversion.
  • Import saved sessions from other compare and sync tools.
Terminal
# compare two folders, or a past revision
$ pcompare ./site ./backup
$ pcompare git:src/app.rs@HEAD~3 src/app.rs

# CI: did anything really change?
$ pcompare /qc=rules build/ expected/
rules-based same: only line endings differ
$ echo $?
2

# 3-way merge, open only the conflicts
$ pcompare "$LOCAL" "$REMOTE" "$BASE" "$MERGED" \
    /automerge /reviewconflicts

# run a compare script, no window
$ pcompare @nightly.txt "D:/work" "E:/backup"

Get PCompare

Free and MIT licensed. Every release is built by GitHub Actions and published on GitHub.

Windows .msi (for managed deployment) · All releases & release notes · Build from source

macOS builds are ad-hoc signed: on first launch, right-click the app and choose Open. Unsigned Windows installers may show a SmartScreen prompt; choose More info → Run anyway.

What's next

On the roadmap

PCompare already covers the full desktop-compare feature set. These go further:

  • Structural diff for JSON, YAML and XML (key-order-insensitive)
  • Semantic, AST-aware code diff
  • Moved-block detection
  • Blame-aware text view
  • AI-generated summary of a diff