File & Folder Compare
Compare exact bytes, inspect visual changes and prepare reviewed update-only packages. Private, local and read-only.
Compare, inspect & review file versions
Read-only · No uploadsLeft · Baseline
No selection
Right · Updated
No selection
Folder mode matches case-sensitive paths inside each selected root. Different root folder names are ignored. Flat file sets match filenames. Individual-file mode compares your two files even if their names differ.
Up to 1,000 files per side, 128 MiB per file and 256 MiB combined. Empty directories are not represented. Selection changes clear the previous comparison.
| Relative path / file pair | Result | Left size | Right size | Evidence |
|---|
Select a path to inspect
The byte comparison is exact. Deep views are optional and bounded.
Decoded sRGB canvas preview, limited to 900 × 600 comparison pixels. This is not a color-calibrated pixel-diff measurement.
Review & deliver
Reports are metadata-only. A release ZIP contains only checked right-side added/changed file bytes; removed paths appear as deletion recommendations, never automatic deletes.
JSON includes the complete comparison counts and filtered rows with filenames, relative paths, sizes and results. It contains no file contents, but names and paths may be private.
Why use File & Folder Compare?
Compare actual file bytes, inspect source and image differences, and prepare a reviewed update-only ZIP. Everything runs locally; originals are never modified.
No uploads · No account · Exact byte comparison
- 01Add your input
- 02Compare file bytes
- 03Review the differences
How to compare files or folders
- Choose two individual files, or switch to folder/file-set mode. The left selection is the baseline and the right selection is the updated version.
- Choose one folder per side or select flat file sets. Folder root names are stripped once, so old-project/src/app.js matches new-project/src/app.js. Use an empty set to see all files on the other side as additions or removals.
- Choose Compare selections. The tool matches paths and compares file bytes in a background worker.
- Review the folder tree, select a path to inspect text/image/hex differences, add notes, then export a filtered metadata report or explicitly selected right-side update files.
What each result means
- Added: the path appears only on the right.
- Removed: the path appears only on the left.
- Changed: a matched pair has different sizes or different byte content.
- Identical: every byte in the matched files was equal, or both files were empty.
- Error: a matched pair could not be fully read. The comparison does not treat unreadable files as identical.
Exact content comparison
Matching is case-sensitive and preserves Unicode filenames. In folder mode, subdirectory paths matter; flat sets match by filename. Duplicate relative paths within one side are rejected. Individual-file mode compares the chosen pair regardless of filename.
Different file sizes establish a change immediately. For equal-size files, the worker reads 512 KiB slices and compares bytes until the first difference or the end. A content difference includes its first byte offset. Modification dates, permissions, line-ending normalization and semantic equality are not compared. A renamed file appears as one removal and one addition. Optional bounded full-byte checks can suggest exact-content renames without changing statuses.
Distinguish a changed path from changed file bytes
For an authored example, imagine identical file bytes called notes.txt in one set and archive/notes.txt in another. The comparison mode determines what is being matched.
- Use individual-file mode when comparing two selected files regardless of their names. Content comparison ignores filename and modification-date differences.
- Use folder/file-set mode for path membership. Different relative paths become additions/removals; the tool does not infer a rename relationship.
- Inspect Added, Removed, Changed, Identical and read-error evidence separately. A read error is not proof of equality or inequality.
- Choose filters before preparing an exported JSON report. Its rows follow the current filters, while summary counts still describe the full comparison.
- Keep the originals: this tool does not synchronize folders, overwrite files or apply changes.
Authored path scenario, no compared files or report supplied. Byte changes can come from encoding, metadata or compression even when files look alike. Use Text Diff for readable text changes or Checksum Calculator for a digest comparison.
Selection and processing limits
Each side supports up to 1,000 files. Individual files must be at most 128 MiB, and the combined selected sizes at most 256 MiB. The comparison has a 60-second limit and can be cancelled. Root-relative paths are limited to 2,048 characters and cannot contain control characters, backslashes or dot/dot-dot segments. Empty directories and filesystem metadata are not available through file selection.
Folder picking depends on your browser and device. If it is unavailable, use flat file sets or compare individual files. Only files returned by the browser are included; permissions and browser selection behavior can affect what is accessible. Folder selections are snapshots; choose them again after changing files on disk. The review JSON does not include source files and requires a fresh comparison.
Privacy and report contents
File bytes are read locally in bounded slices. The tool does not upload, execute, overwrite or delete source files. Optional bounded text, image and hex previews are local; a merge draft is a separate downloaded file, and it does not save selections in browser storage. Replacing a selection or clearing the workspace invalidates previous results and revokes the report download.
Exported JSON includes relative paths, file sizes, status and comparison evidence. It contains no original file bytes. Summary counts always describe the full comparison; exported rows follow your current filters.
V3 inspector and safe delivery
Click a path in the comparison table or folder navigator. Text/code files up to 2 MiB are decoded safely and compared using a bounded line diff; untrusted HTML/SVG is shown as source text, never executed. Binary files use a small hex window around the first known difference. Supported browser-decodable raster images can be viewed as locally rendered composite previews and exported as a comparison PNG. None of these visual inspections change the underlying byte comparison.
Use a review note to document decisions, then select only right-side new or changed files for an update-only ZIP. It includes a separate release-manifest.json with selected paths and deletion recommendations. Unchecked or removed files are never copied into the patch. This is a download package, not a filesystem synchronization or automatic merge operation.
A unified text patch is available for bounded text files with LF line endings, and an editable text draft can be downloaded separately. Use a normal source-control or diff tool to review applying a patch. Save review JSON for notes only; reopen it after reselecting/recomparing sources, and revalidate before trusting old statuses. This is not Git, a three-way merge, direct disk write-back or archive extraction.
Frequently asked questions
Can two files be identical with different names or dates?
Yes. Individual-file mode compares content regardless of filename, and dates are ignored. In folder mode, differently named paths are separate additions/removals.
Does this compare image pixels or text meaning?
The core result compares exact bytes. A selected item can also be inspected as text, image or hex data; visual similarity never overrides byte identity.
Will this synchronize or merge my folders?
No. This tool only reads source files. You can download a reviewed update ZIP or an independent text draft, but it never writes to or deletes files in your original folders.
Continue your workflow
Compare bytes without synchronizing folders
Select files or supported folder selections and inspect comparison status and evidence. Review how active filters affect exported report rows.
Scope of this workflow
Names, encoding, metadata and compression can differ even when content looks alike. The tool does not merge, overwrite or delete files.
Text Diff Checker — Compare Lines or Words · All developer tools · Privacy policy · Contact PixelOkay