How to Find Duplicate Files on Windows (4 Methods)

July 1, 2026 · 7 min read

Duplicate files are one of the biggest wasters of disk space on Windows. Over time, you end up with multiple copies of the same documents, photos, downloads, and backups scattered across different folders. A single 50 MB presentation saved in three locations costs you 100 MB of wasted space, and across hundreds of files, that adds up fast.

The real problem goes beyond storage. Duplicate files create confusion. Which version is the latest? Did you edit the copy in Documents or the one in Downloads? When you have multiple versions of a contract, a report, or a project file, you risk working on the wrong one.

Here are four methods to find and handle duplicate files on Windows, ranging from manual approaches to AI-powered content matching.

Method 1: Manual Search in File Explorer

The simplest approach is sorting files in File Explorer to visually spot duplicates. This works for small folders but becomes impractical at scale.

Steps:

  1. Open File Explorer and navigate to the folder you want to check
  2. Click View > Details to see file sizes and dates
  3. Click the Size column header to sort by file size. Duplicates will often have the exact same size
  4. Look for files with identical sizes and similar names (e.g., "report.pdf" and "report (1).pdf")
  5. Right-click suspicious files and check Properties to compare sizes, dates, and locations

You can also use the search bar in File Explorer to look for common duplicate patterns. Try searching for name:(1) or name:copy to find files that Windows renamed when copying.

Limitations:

Method 2: PowerShell Hash Comparison

PowerShell can compute MD5 or SHA256 hashes for every file in a folder, then group files with identical hashes. This is a reliable way to find exact byte-for-byte duplicates, even if the filenames are different.

Steps:

  1. Open PowerShell (search for it in the Start menu)
  2. Run the following command, replacing the path with your target folder:
Get-ChildItem -Path "C:\Users\YourName\Documents" -Recurse -File |
  Get-FileHash -Algorithm MD5 |
  Group-Object -Property Hash |
  Where-Object { $_.Count -gt 1 } |
  ForEach-Object {
    Write-Host "--- Duplicate group ---"
    $_.Group | ForEach-Object { Write-Host $_.Path }
  }

This script computes the MD5 hash of every file, groups them by hash, and shows groups where more than one file shares the same hash. Those are your exact duplicates.

Pros:

Cons:

Method 3: Dedicated Duplicate Finder Tools

Several free and paid tools are built specifically for finding duplicate files. These offer graphical interfaces, preview options, and batch deletion.

Popular options:

How they work:

  1. Select the folders you want to scan
  2. Choose comparison criteria (file name, size, content hash, or a combination)
  3. Run the scan
  4. Review results in a grouped list
  5. Select which copies to keep and which to delete

Pros:

Cons:

Method 4: FileScope Content Search

FileScope takes a different approach. Instead of comparing file hashes, it reads the content of your documents and makes them searchable by meaning. This helps you find not just exact duplicates, but files with similar or overlapping content.

How it works:

  1. Download and install FileScope
  2. Select folders to index during onboarding
  3. FileScope reads the content of all your files: PDFs, Word documents, spreadsheets, text files, and even images via OCR
  4. Press Ctrl+Space and search for the content you think is duplicated
  5. FileScope shows all files containing matching content, ranked by relevance

For example, if you search for "quarterly revenue analysis," FileScope might surface three different documents that all contain similar financial data. Maybe one is a draft, one is the final version, and one is a copy someone emailed you. A hash-based tool would miss these because the files are not byte-for-byte identical, but FileScope finds them because their content overlaps.

FileScope also uses semantic search powered by a local AI model. This means it understands meaning, not just keywords. A search for "sales performance metrics" would also find a file titled "Q4 Revenue Report" that contains relevant data, even if those exact words never appear together.

Pros:

Cons:

Comparison

Feature File Explorer PowerShell Duplicate Finders FileScope
Exact duplicates Visual only Yes (hash) Yes Yes (content match)
Similar files No No Images only Yes (AI semantic)
Searches inside files No No No Yes
PDF / DOCX / XLSX No No Hash only Content search
OCR (images) No No No Yes
Batch delete Manual Manual Yes No
Ease of use Easy but slow Requires CLI Easy Very easy
Price Free Free Free / $30 $19 one-time

Tips for Safe Duplicate Removal

Regardless of which method you use, follow these guidelines to avoid accidentally deleting important files:

When to Use Which Method

For a quick cleanup of a single Downloads folder, the File Explorer manual approach may be enough. For thorough, system-wide duplicate detection based on file hashes, PowerShell or a dedicated duplicate finder is the right tool. And if your problem is not just identical copies but overlapping content across different document versions, drafts, and formats, FileScope's content search helps you understand what is in your files and decide which to keep.

For more ways to search your files effectively, see our guide on the best file search tools for Windows or learn how to search files by content.

Find files by what's inside them, not just by name.

Try FileScope