Sid Lakkoju

Photos Swipe

Swipe through your Google Photos and free up storage. Left to trash, right to keep.

Free userscript · desktop browsers and iPhone Safari

Live demo · try it
Photos Swipe on an iPhone: a sunset photo card with keep and trash buttons, and 26.3 MB freed.
Opens full screen · sample photos
Live demo · sample photos

How it works

It runs entirely inside your signed-in Google Photos tab.

photos.google.com · your signed-in tab
Google Optional
Photos Swipe userscript UI in a shadow DOM over the page
Decisions & progress IndexedDB · on this device
Google Photos web API batchexecute · the calls photos.google.com makes
Google media servers googleusercontent.com · previews & video
Google Photos Trash Restorable for 60 days
Photos Swipe Worker Cloudflare · app updates + optional sync
library page upcoming previews keep / trash IDs, decisions, progress move batch verify app code
photos.google.com · your tab
Photos Swipe userscript UI in a shadow DOM over the page
keep / trash
Decisions & progress IndexedDB · on this device
library page upcoming previews move batch verify
Google
Google Photos web API Same API as photos.google.com
Google media servers Previews & video
Google Photos Trash Restorable for 60 days
IDs, decisions, progress app code
Photos Swipe Worker Cloudflare · updates + optional sync

How it works: Photos Swipe runs inside your signed-in Google Photos tab. Your photos and videos only travel between Google and your browser. It runs inside your signed-in Google Photos tab. Photos only travel between Google and your browser.

The script checks the Worker for updates on each Google Photos page load; no account data is sent. Optional sync uses Sign in with Google for identity only. No analytics.

Install Photos Swipe

Three steps, about a minute.

  1. Install a userscript manager

    Pick your browser above for setup tips, or get a manager here.

    • Chrome Tampermonkey · Chrome Web Store Get
    • Edge Tampermonkey · Edge Add-ons Get
    • Firefox Tampermonkey · Firefox Add-ons Get
    • Firefox Violentmonkey · Firefox Add-ons Get
    • Safari on Mac Userscripts · Mac App Store · free Get
    • Safari on Mac Tampermonkey · Mac App Store · paid Get
    • iPhone & iPad Userscripts · App Store · free Get
  2. Install Photos Swipe

    Your userscript manager opens an install prompt. Review it, then choose Install.

    Install Photos Swipe
  3. Step 3: Open Google Photos and tap the Photos Swipe button at the bottom right.

    Open

Runs only on photos.google.com · open source