Diffchecker
PrivateSecureFree

Folder Diff -
Compare Two Folders & Directories Online

Compare two folders online and see every difference across an entire project in seconds. Both directories are scanned recursively, merged into a single colour-coded tree — green for added, red for removed, amber for modified — and unchanged files collapse out of the way so the differences are all you see. Click any modified file and a full line-by-line diff opens right beside the tree, with character-level highlights and syntax colouring, so you never have to leave the page to understand what changed inside a file.

The whole comparison runs in your browser. Folders are read directly from disk with your permission, diffed in memory, and forgotten the moment you close the tab. Nothing is uploaded, no account is required, and there's nothing to install. Whether you need to compare directories on a Mac, diff folders on Windows, or check a deployment on Linux, the same tool works everywhere a modern browser runs — with no cloud service sitting between you and your files.

A Merged Tree That Shows Only What Changed

Most folder compare tools show two separate lists and ask you to scan both. This one merges both directory trees into a single view, interleaving files by path so added, removed, and modified entries sit exactly where they belong in the hierarchy. Unchanged files are hidden by default — toggle them back if you need the full picture — so the tree stays focused on differences even in projects with thousands of files. Each entry carries a coloured status badge and, for modified files, a size delta so you can spot a ballooned asset or an unexpectedly shrunk config without clicking into it.

Three Categories Of Change

Every file lands in exactly one bucket. Identical files stay hidden so the view remains focused, and each category gets its own colour and icon — scannable at a glance even in a tree with hundreds of entries.

Added. Files present only in the second folder. New source files, assets pulled in from another branch, generated outputs that didn't exist before — they show up in green the moment the scan finishes. You can click into a newly added text file to see its full content rendered as an addition diff, which is useful for reviewing what a colleague or build step introduced.

Removed. Files present only in the original folder. Deleted intentionally, moved elsewhere, or lost during a sync — they appear in red so accidental deletions stand out immediately. Compare folder contents before and after a migration and you'll see at a glance whether anything was left behind.

Modified. Present in both directories but different in content. Click to open a full line-by-line diff in the side panel — split or unified view, character-level highlighting, syntax colours — exactly the same quality you'd get from a dedicated file compare tool, but integrated into the directory tree so you stay in context.

How To Compare Two Folders Online

Four steps and you're looking at every difference. No sign-up, no download, no waiting on a server — just a browser and the two directories you want to diff.

  1. 01Pick The First Folder. Click the left panel to open a native folder picker (Chrome, Edge, Brave, Arc) or drag a directory straight from your file manager. Firefox and Safari don't support the File System Access API yet, but drag-and-drop works just as well — the scan starts the moment you release.
  2. 02Pick The Second Folder. Same action on the right. Both directories are walked recursively in the background — sub-folders, nested packages, deep asset trees — with commonly ignored paths like node_modules and .git automatically excluded. You'll see early results while the scan is still running on large trees.
  3. 03Review The Merged Tree. Every file appears once, colour-coded by status. Collapse sub-folders you don't care about, type into the search field to filter by filename or path, or click the status chips at the top to show only additions, only removals, or only modifications. Keyboard shortcuts (j/k or arrow keys) let you walk the list without touching the mouse.
  4. 04Drill Into Modified Files. Click any text file to open its full diff. Split view places both versions side by side; unified view interleaves them in a single column. Character-level highlights pinpoint the exact token that changed, and the diff computes in a background Web Worker so the UI stays responsive even on large files. Binary files show a size comparison instead.

Why This Folder Compare Tool Stands Out

A free, browser-based directory compare utility with the depth of a desktop app. These are the capabilities that matter when you're comparing real projects — not toy demos.

  1. 01Full Recursive Scanning. Both directories are walked to any depth. Deeply nested source trees, monorepo structures with dozens of packages, asset folders five levels deep — everything lands in the merged tree regardless of nesting, so you compare all files in two directories without worrying about what's hidden inside sub-folders.
  2. 02Intelligent Ignore List. Paths like node_modules, .git, dist, build, __pycache__, and .DS_Store are excluded automatically so the tree shows real project files, not tooling noise. Hidden dotfiles are toggled separately, giving you control over whether .env, .eslintrc, and similar configs appear.
  3. 03Built-In Line-By-Line Diff. Click any modified text file and a full diff appears in the side panel — split or unified, character-level highlights, context-collapsed unchanged regions. It's the same quality you'd expect from a standalone diff checker, but you don't leave the folder view to use it.
  4. 04SHA-256 Content Hashing. When two files have the same size, a content hash determines whether they're truly identical or subtly different. This catches single-character edits that size alone would miss, without reading the full file into the diff engine unnecessarily.
  5. 05Background Web Worker. File diffs are computed off the main thread so the tree stays scrollable and the UI never freezes, even when you click into a large file with thousands of lines of changes.
  6. 06100% Private And Client-Side. Your folders are read from disk by the browser with your explicit permission. Nothing is uploaded anywhere — no server, no database, no analytics on your file contents. The comparison is forgotten the instant you close the tab. Safe for proprietary source, internal configs, and anything you'd never paste into a cloud tool.
  7. 07No Installation. No software to download, no package to install, no PATH to configure. Open the page in any modern browser and start comparing. Works on macOS, Windows, Linux, and ChromeOS — the same tool everywhere, with zero setup.

What People Use It For

Any time you have two directories and need to know what differs between them. These are the real-world scenarios that bring people here most often.

Development & Code Review

Compare two folders of source code to see what changed between branches, releases, or local copies — without opening a terminal or version-control GUI. Useful when you have two project snapshots but no shared git history.

  • Diffing build output directories between versions
  • Checking generated or transpiled code against expectations
  • Comparing vendor or node_modules folders across environments
  • Reviewing a colleague's exported project archive
  • Verifying that a refactor didn't accidentally add or delete files

Backup & Sync Verification

Compare folder contents between a source and its copy to confirm nothing was lost, corrupted, or silently changed during sync. Faster and more reliable than manually browsing both directories side by side in a file manager.

  • Comparing a backup directory against the original
  • Verifying cloud-sync integrity after migrating providers
  • Checking an external drive copy for drift or corruption
  • Confirming a bulk move or copy completed without data loss
  • Auditing a NAS mirror against the local source

Deployment & Configuration

Compare directories of config files, static assets, or deployment artifacts to find what drifted between environments, builds, or releases — the kind of difference that causes "works on my machine" bugs.

  • Comparing config directories across staging and production
  • Diffing static-asset bundles between CI builds
  • Checking deployment artifacts against the source tree
  • Verifying template folders after a CMS or theme update
  • Comparing Kubernetes manifest directories across clusters

Works On Every Operating System

No platform-specific software to install. The same browser-based tool replaces the scattered OS-specific utilities people have been using — FileMerge on Mac, WinMerge on Windows, meld on Linux — with a single tool that works identically everywhere.

macOS. Compare folders on Mac without FileMerge, DiffMerge, Terminal commands, or Homebrew packages. Drag two directories from Finder into the browser and the comparison starts immediately. Works in Chrome, Edge, Safari, and Arc — no Xcode required, no brew install, just open and compare. It handles everything people currently use the diff -r command or Kaleidoscope for, with a visual tree instead of terminal output.

Windows. A folder diff tool for Windows that handles the same comparisons people reach for WinMerge, Beyond Compare, or PowerShell's Compare-Object to do — without installing an MSI, configuring PATH, or requesting admin rights. Open the page in Chrome or Edge, pick your two folders, and the merged tree is ready in seconds. Works on Windows 10, Windows 11, and Windows Server.

Linux & ChromeOS. Compare directories without diff -r, meld, Kompare, or any package to install. The same browser-based directory compare utility works identically on Ubuntu, Fedora, Arch, Debian, and ChromeOS — anywhere Chrome, Edge, or Firefox is available. Useful on locked-down machines where you can't install desktop software but still need to diff two folders quickly.

Browser Support

Chrome, Edge, Brave, and Arc get the fastest experience via the File System Access API — a native folder picker opens directly to your filesystem, and file handles let the tool read content on demand without loading everything into memory upfront. Firefox and Safari don't support this API yet, so they fall back to drag-and-drop, which works reliably but requires an extra gesture and is slightly slower on very large trees because all file metadata must be read at drop time.

Compare Directories And Folder Contents Online

Whether you call them folders or directories, the comparison works the same way: both trees are walked recursively, every file is matched by its relative path, and differences are surfaced in a single merged view. Use it as a directory compare tool on any platform — Mac, Windows, Linux, ChromeOS — without installing software to compare files and folders. It replaces diff -r output, meld windows, WinMerge sessions, and Beyond Compare licenses with a single browser tab that works everywhere and costs nothing.

The merged tree tells you what changed at a glance — added files in green, removed in red, modified in amber, each with a size delta — and clicking into any modified file opens a full line-by-line diff with character-level precision. That's what separates this from running a command that lists filenames: you get the why, not just the what. It's the fastest way to compare folder contents after a migration, verify a backup, audit a deployment, or diff two directories after a refactor, and because everything runs client-side your files never leave your device.

Frequently Asked Questions

How do I compare two folders online?

Click the left panel to pick your first directory (or drag it from Finder / Explorer), then do the same on the right. Both are scanned recursively and the result appears as a merged tree with files colour-coded by status: green for added, red for removed, amber for modified. Click any modified file to open a full line-by-line diff. No installation, no account, nothing uploaded.

Is this the same as comparing directories?

Yes — folders and directories are the same thing by different names. The tool walks both trees recursively, matches files by their relative path, and surfaces every difference in one merged view. It works equally as a folder compare tool and as a directory compare utility.

Does it compare file contents or just filenames?

Both. Files are first matched by path, then compared by size, and when sizes match a SHA-256 content hash determines whether they're truly identical. For text files you click into, a full character-level diff is computed in a background worker. Binary files show a size comparison.

Can I compare folders on Mac without installing anything?

Yes. Open this page in Chrome, Edge, Safari, or Arc and pick your two directories. Chrome and Edge use the File System Access API for direct folder access; Safari uses drag-and-drop. No FileMerge, no Terminal diff command, no Homebrew package required.

Can I compare folders on Windows without WinMerge?

Yes. This runs in any browser on Windows — Chrome, Edge, Firefox — with no installer, no admin rights, and no PATH configuration. It handles the same directory comparisons people use WinMerge or Beyond Compare for, directly in a browser tab.

Can it handle large projects with thousands of files?

Yes. Scanning runs in the background and the tree populates progressively — start reviewing differences while the rest loads. File diffs are computed in a Web Worker off the main thread, so the UI stays responsive. Commonly ignored paths like node_modules and .git are excluded automatically to keep the tree focused.

What file types can it diff?

Any text-based file gets a full line-by-line, character-level diff: source code in any language, config files, Markdown, CSV, JSON, YAML, XML, logs, scripts, and more. Binary files (images, archives, compiled outputs) are compared by size and content hash — you'll see that they differ, even though a character diff isn't possible.

Does it detect renamed files?

Not yet. A renamed file currently shows as one deletion (old name) and one addition (new name). Rename detection — matching files by content similarity regardless of path — is on the roadmap for a future update.

Are my files private?

Yes. Folders are read from your local disk by the browser, diffed in memory, and discarded when you close the tab. Nothing is uploaded to a server, nothing is stored in a database, and no third party ever sees your file contents. It's safe for proprietary source, contracts, internal configs, and anything sensitive.

Is this folder compare tool really free?

Yes — 100% free for personal and commercial use. No sign-up, no usage limits, no premium tier, no watermarks. Every feature — recursive scanning, line-by-line diffs, search, filtering, keyboard navigation — works without an account or payment.