How to Find Duplicate Files on Windows (3 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 good news is you don't have to open every folder and check manually.

Here are three ways to find duplicate files on Windows, from sorting by hand to scanning everything at once:

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:

The methods above work when you already know where to look. But what about the copy you saved six months ago in a folder you forgot about? Or the duplicate you renamed last month and completely forgot about?

With FileScope, one search shows you every copy, every version, every format — across all your folders at once. Search for "quarterly revenue analysis" and FileScope might surface three different documents that all contain similar financial data.

How it works:

  1. Install FileScope and scan all your files
  2. FileScope understands the content of every file
  3. Search for content you think exists in more than one place
  4. If multiple files show up, those are your duplicates

Find Any File. Just Describe It.

Find documents, images, and files by name, content, or meaning. Just describe what you're looking for.

Get FileScope — $19 Lifetime Access

Comparison

Feature File Explorer PowerShell FileScope
Exact duplicates Visual only Yes (hash) Yes (content match)
Similar files No No Yes (AI semantic)
Searches inside files No No Yes
PDF / DOCX / XLSX No No Content search
OCR (images) No No Yes
Ease of use Easy but slow Requires CLI Very easy
Price Free Free $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 is reliable and free. 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 Any File. Just Describe It.

Find files by what you remember, not what you named them.

Get FileScope — $19 Lifetime Access

You know what's in the file.
Not what you named it.

Press Ctrl+Space and describe what you need. FileScope finds any file by name, content, or meaning.

Get FileScope — $19 Lifetime Access