Images and Photos

How to Find and Remove Blurry Photos from a Big Folder

Clean up a huge photo library faster: how blur detection works, choosing a threshold, handling portraits and bursts, and exporting keep and reject lists.

Saizul Amin
Saizul Amin5 Nov 2026 · 4 min read
How to Find and Remove Blurry Photos from a Big Folder

A single holiday can produce thousands of photos, and a large share of them are shaky, out of focus, too dark or near-duplicates taken in quick succession. Sorting through them by hand is slow and tiring, which is why many libraries keep growing. An automatic first pass that flags the obvious failures saves hours and makes the real selection much easier.

How a computer measures blur

A sharp photo has crisp edges: neighbouring pixels change brightness quickly at the outline of a face, a leaf or a letter. Blur smooths those changes out. The most widely used measure, the variance of the Laplacian, applies a small edge filter to the picture and measures how much the result varies. A high value means many strong edges, a low value means a soft picture. It is fast, needs no training data and has been used in microscope and camera autofocus research for decades.

A second measure, Tenengrad, uses the Sobel gradient instead and is recorded as a second opinion.

Why portraits need special care

Good portraits often have a deliberately blurred background, which pulls the overall sharpness score down even when the eyes are perfectly sharp. To avoid flagging these, the Blurry Photo Finder can judge a photo by its sharpest regions: it splits the photo into a grid and looks at the best tiles. If the face is sharp, the photo passes.

Exposure problems

The same scan also checks brightness. A very low average flags photos taken in the dark; a very high average flags washed-out shots. Clipping, the share of pixels that are pure black or pure white, catches flash photos that burned out faces and silhouettes where detail is gone.

Night skies, concerts and snow scenes break these rules on purpose, so adjust the limits for those folders or simply mark such photos to keep.

Choosing the blur threshold

There is no universal number, because scores depend on the subject and the camera. Start with the default and look at the flagged photos sorted from least sharp to sharpest. Find the point where flagged photos start to look acceptable, and set the threshold just below it. Raise it for a strict cull of a wildlife shoot; lower it if many good photos get flagged.

Bursts: keep the best, drop the rest

Action, group and pet photos often come in bursts of several shots within a second or two. Instead of comparing them one by one, group photos taken within a few seconds of each other, using the capture time stored in the photo, and keep only the sharpest of each group. In a typical holiday folder this alone can mark hundreds of near-duplicates for removal.

A careful workflow

  1. Scan a copy of the folder, or the folder itself; the tool never changes or deletes files.
  2. Review flagged photos, least sharp first, and mark keepers you want to save despite a low score.
  3. Run the burst step and check the rejected photos with the reject filter.
  4. Export the CSV report for your records, and the reject list.
  5. Delete the rejected files yourself in your file manager, or download a ZIP of the keepers to start a clean folder.

Browsers cannot delete files on your device, which is a good safety net: nothing disappears without your own action.

An example

Take a holiday folder of 2,300 photos. Suppose the scan flags 184 as blurry, 41 as dark, 12 as too bright and 9 as clipped. Setting the burst gap to two seconds finds 156 bursts, and keeping the sharpest of each marks 412 weaker shots. A quick look through the rejects saves two favourites, leaving 410 files to remove: almost a fifth of the folder, cleared in minutes instead of an evening.

What automatic culling cannot judge

A sharpness score knows nothing about expression, composition or meaning. A slightly soft photo of a grandparent laughing may be worth more than a perfectly sharp landscape. Use the scores to find the obvious failures and the near-duplicates, then make the final choices yourself. This version also does not detect closed eyes, so check group photos by eye.

Privacy

Photo libraries are personal. Because the scan runs in your browser, the photos stay on your device and are never uploaded, which also makes it practical for very large folders on slow connections.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages