How to remove or prevent duplicates in Google Photos

Google Photos tries to avoid exact duplicates, by allotting a hash code to identify each file. This code changes when the file is edited or moved across devices.  When different devices are used, or photos have been edited or metadata changed, (near) duplicates may  be uploaded. A different title/path does not trigger a new upload.

Also important: the Google Photos app on mobile devices not only shows photos/videos uploaded to Google Photos, but also photos in folders on the device. That may under certain circumstances (for example moving photos to another folder, adding photos to the device) lead to duplicates in the Photos tab. To see what is really uploaded to Google Photos you should use the web app https://photos.google.com

When we get new info on how to avoid/remove duplicates we will add it here.

Reasons for getting duplicates

Many asked for a de-duplication program, but Google says that "it cannot decide which photo the user wants to keep". What would already help is a search option to display duplicates side-by-side so that the user can more easily decide.

Things to check

In order to find out where the duplicates come from you can check a few things:

Recommendations to remove duplicates

There is no easy way to remove duplicates in Google Photos (prevention is important!), but this may help a bit:

Third party software

Duplicate removal in Google Photos:  

https://duplicates-google-photos.remikel.fr/

https://github.com/mtalcott/google-photos-deduper
https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper

Duplicate removal after download to a computer

Some users suggested programs to delete duplicates on a computer hard disk. See here how to download photos from Google Photos to a computer. When you manage to create a group of photos that could be removed, you can proceed as follows in order to avoid deleting and re-uploading photos (and thus avoiding to replace photos uploaded for free before June 2021  to use storage):

Programs mentioned by users:

Duplicate removal on a mobile device