
Ente
End-to-end encrypted cloud storage for photos and credentials
Ente is an encrypted platform for storing data in the cloud without trusting the provider. Client apps cover photos, documents, and two-factor authentication.
Google Photos by Google is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Google Photos is Immich, with 120.3k GitHub stars. Other open-source alternatives to Google Photos are Ente, LibrePhotos, Piwigo and Pho (1 more below). Most Google Photos alternatives here are Digital Asset Management (DAM) tools, some are Backup & Recovery. The first 2 say in their own README or website that they can replace Google Photos (the quote is shown under each one); the other 3 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

End-to-end encrypted cloud storage for photos and credentials
Ente is an encrypted platform for storing data in the cloud without trusting the provider. Client apps cover photos, documents, and two-factor authentication.
“Ente Photos (an alternative to Apple and Google Photos)”

Mobile photo gallery syncing to your own storage
Pho backs up iPhone and Android camera rolls to SMB, WebDAV, NFS, S3 or cloud drives without running a dedicated photo server.
“Back up iPhone & Android photos to your NAS or cloud drive via SMB, WebDAV, NFS, or S3. No server. AES-256 encryption (Pro). The private Google Photos alternative.”
These projects don't call themselves a Google Photos alternative, but two independent checks of their own description found they do the same main job.

Self-hosted photo and video library with mobile backup
Immich backs up, organizes, and browses personal photos and videos on hardware you run. Mobile and web clients share albums, search, and face grouping.
“Self-hosted photo and video management solution. Easily back up, organize, and manage your photos on your own server. Immich helps you browse, search and organize your photos and videos with ease, without sacrificing your privacy.”

Self-hosted photo library with machine learning indexing
LibrePhotos is a self-hosted photo management service with face recognition, object tagging, maps, and semantic search. Photos and metadata stay on your own hardware.
“LibrePhotos is a self-hosted, open source photo management service. Faces, places, events and semantic search, with every photo and every byte of metadata staying on your own machine.”

Open-source web photo library and DAM
Piwigo is open-source photo gallery and digital asset management software for the web. Use it as a hosted cloud service or self-host on your own infrastructure with the same core features.
“Organize and share your media with Piwigo, an open source photo library and DAM software. Available as a hosted service in France or self-hosted.”
These projects also replace Google Photos, but have had no code changes for over 18 months. Prefer an actively maintained alternative above. (Archived and discontinued projects are not listed.)

Self-hosted web photo management and sharing
Lychee is a photo-management tool that runs on your own server or web hosting. Upload, organize, and share albums through the browser with password protection and EXIF metadata support.
“Lychee is a free photo-management tool, which runs on your server or web-space. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.”
Yes. 6 open-source projects can replace Google Photos, for example Immich, Ente and LibrePhotos. 2 of them say so in their own documentation; the other 4 do the same job.
Immich (120.3k GitHub stars) is the most popular open-source alternative to Google Photos on GitHub. LibrePhotos has the most recent code changes. To run it on your own server, look at Immich, Ente and LibrePhotos, which are self-hostable. The best choice depends on your needs: compare them side by side, for example Immich vs Ente.
All of the 6 projects listed here are free to use under an open-source license, with no license fee: 2 permissive (such as MIT), 4 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.