Nifty Folder Compare
Compare two folders: see which files were added, removed or changed in a tree, open side-by-side diffs, ignore whitespace or line endings, and copy files across.
Maintained. No sign-in. No telemetry. Works in VS Code, Cursor, Windsurf, VSCodium and other editors that use Open VSX.
Features



- Compare any two folders. Select two folders in the Explorer and choose Compare Folders…. Or right-click one and choose Select for Folder Compare, then right-click the other and choose Compare with Selected Folder. They don't need to be in the workspace.
- See what changed at a glance. A Folder Compare view in the Explorer shows added, removed and changed files in a tree, with counts per folder. Identical files are hidden, or shown if you want them.
- Side-by-side diffs. Click a changed file to open it in VS Code's diff editor. Files that exist on only one side open directly.
- Ignore what doesn't matter. Line endings (CRLF vs LF) are ignored by default. You can also ignore trailing whitespace, all whitespace, or letter case. Binary files are compared byte for byte, and
.git and node_modules are skipped.
- Copy files across with the arrow buttons on each file. You're asked before anything is overwritten.
- Sync folders. Copy every new and changed file from one side to the other in one step. Nothing is ever deleted.
- Swap sides and refresh from the view's title bar.
- Works in the browser on vscode.dev and github.dev.
Commands
| Command |
What it does |
Nifty Folder Compare: Compare Folders… |
Pick two folders and compare them |
Nifty Folder Compare: Refresh |
Compare again |
Nifty Folder Compare: Swap Sides |
Make the right folder the base |
Nifty Folder Compare: Show or Hide Identical Files |
Toggle files that are the same |
Nifty Folder Compare: Whitespace Options |
Choose how whitespace is compared |
Nifty Folder Compare: Copy All Differences One Way |
Copy all new and changed files to one side |
Settings
| Setting |
Default |
What it does |
nifty.compare.exclude |
.git, node_modules, .DS_Store |
Globs to leave out |
nifty.compare.ignoreWhitespace |
exact |
exact, trailing or all |
nifty.compare.ignoreLineEndings |
true |
Treat CRLF and LF as the same |
nifty.compare.ignoreCase |
false |
Ignore letter case in text files |
nifty.compare.maxFiles |
50000 |
Most files to read from each folder |
Install
- VS Code: search for "Nifty Folder Compare" in the Extensions view, or install from the Visual Studio Marketplace.
- Cursor, Windsurf, VSCodium, Kiro, Antigravity: install from Open VSX.
Privacy
This extension collects no telemetry and needs no account.
- Nifty Spreadsheet Viewer: XLSX, XLS & ODS: Open Excel, OpenDocument and other spreadsheets in a fast read-only grid with sheet tabs, formulas, search and CSV export, and compare two workbooks as a diff. (Open VSX)
- Nifty Settings Sync: Sync via GitHub Gist: Sync settings, keybindings, snippets and extensions between VSCodium, Cursor, Windsurf and VS Code through a private GitHub Gist, with a diff before anything is overwritten. (Open VSX)
- Nifty SFTP: Upload on Save & Folder Sync: Upload on save and sync folders over SFTP, compatible with existing sftp.json files: download, diff with the server, browse remote files, profiles, and passwords kept in the OS keychain. (Open VSX)
- Nifty Beautify: Format HTML in PHP, Blade & Twig: Format HTML inside PHP, Blade, Twig, Jinja, Handlebars, ERB and Liquid templates without breaking the template tags. (Open VSX)
- Nifty Branches: Clean Up Merged Git Branches: Safely clean up merged, squash-merged, gone and stale git branches, with a preview and one-click restore. (Open VSX)
- Nifty C# Scratchpad: Run C# Snippets & NuGet: Run C# snippets instantly with NuGet packages and rich Dump() output, a LINQPad-style scratchpad and Polyglot Notebooks replacement. (Open VSX)
See all 42 Nifty tools at https://getnifty.dev
| |