Quick Start Β· Installation Β· Features Β· Performance Β· FAQ
A powerful, efficient tool to bulk delete photos from Google Photos. Available as both a Chrome extension and script injection - choose what works best for you.
Unlike manual deletion or timer-based scripts, this tool uses intelligent selector-based awaiting for optimal performance and reliability across all network conditions.
- π― Smart Selection - Selector-based awaiting instead of unreliable timers
- π Auto-Scrolling - Automatically processes your entire library
- π¦ Batch Processing - Deletes up to 500 photos per batch
- π’ Configurable Limits - Set exactly how many photos to delete
- πͺ Resilient - Resume from where you left off if interrupted
- β‘ Blazing Fast - Up to 25x faster than manual deletion
-
Clone this repository:
git clone https://github.com/shtse8/google-photos-delete-tool.git
-
Open Chrome and go to
chrome://extensions/ -
Enable Developer mode (top right)
-
Click Load unpacked β Select the
chrome-extensionfolder -
Navigate to Google Photos
-
Click the extension icon to start deleting! π
-
Go to Google Photos
-
Open DevTools (
Ctrl+Shift+IorF12) -
Switch to the Console tab
-
Copy and paste the code from
delete_photos.js -
Press Enter to start! π
| Method | Photos/Minute | Relative Speed |
|---|---|---|
| π Manual Deletion | ~20 | 1x |
| π Average Script | ~100 | 5x |
| β‘ Our Tool | ~500* | 25x |
*Actual performance varies based on network and hardware
- Batch Size: Up to 500 photos per operation
- Success Rate: >99% with automatic retry
- Resource Usage: Low CPU/memory via smart selection
- API Efficiency: Minimized calls to avoid rate limiting
Photos Deleted (per minute)
β
500 β ββββββββββββββββ Our Tool
β β±
400 β β±
β β±
300 ββ±
β ββββββββββββββββ Average Script
200 β β±
β β±
100 β β±
ββ±
20 ββββββββββββββββββββ Manual
βββββββββββββββββββββββββββββ
0 5 10 15 20 25 30
Time (minutes)
- π Modern web browser (Chrome recommended)
- π Google Photos account (English version)
Block image loading for massive speed improvements:
- Click the padlock icon in the address bar
- Go to Site settings
- Find Images β Select Block
- Reload Google Photos
This dramatically reduces CPU, RAM, and network usage! π
- Navigate to Google Photos
- Click the extension icon in your toolbar
- Monitor progress in the console (
F12β Console tab) - Done! π
π Step-by-step guide with screenshots
- Keyboard: Press
Ctrl+Shift+IorF12 - Right-click: Select
Inspect - Menu: Chrome Menu β More tools β Developer tools
The script starts automatically! π
Customize the deletion limit by editing the maxCount value:
Edit chrome-extension/content.js:
const CONFIG = {
maxCount: 10000, // Change this number
// ... other options
};Then reload the extension at chrome://extensions/
Edit delete_photos.js:
const CONFIG = {
maxCount: 10000, // Change this number
// ... other options
};Then use the updated script in the console.
Having issues? Try these solutions:
| Problem | Solution |
|---|---|
| π Script not working | Ensure you're using the English version of Google Photos |
| π Script stopped | Simply run it again - it will resume from where it left off |
| π Unexpected errors | Check the console for error messages and open an issue |
| π« Extension issues | Try the script injection method instead |
| β‘ Slow performance | Enable image blocking (see Performance Optimization) |
Still stuck? Open an issue and we'll help! π€
Is this tool safe to use?
Yes, but always exercise caution with bulk deletions. Make sure you have backups of important photos. The tool interacts only with Google Photos' public interface.
Can I recover deleted photos?
Yes! Google Photos keeps deleted items in trash for 60 days. You can restore them anytime within this period.
Why does the script pause or slow down?
This can happen due to network latency or Google's rate limiting. The tool is designed to handle this gracefully and will continue automatically.
How many photos can I delete at once?
By default, the limit is set to 10,000 photos. You can customize this in the Configuration section.
Does this work on mobile?
Currently, this tool is designed for desktop browsers only. Mobile browsers don't support the required developer console features.
Will this delete photos from my device?
No, it only deletes photos from Google Photos cloud storage. Photos stored locally on your device are not affected.
- π Use Responsibly: Always verify what you're deleting
- πΎ Backup First: Ensure important photos are backed up elsewhere
- π UI Changes: Google may update their interface, requiring script adjustments
- π« Not Official: This tool is not affiliated with Google
- βοΈ No Liability: Developers are not responsible for data loss or account issues
Contributions are welcome! Here's how you can help:
- π Report bugs
- π‘ Suggest features
- π§ Submit pull requests
- β Star this repo if you find it useful!
MIT Β© Kyle Tse
See LICENSE file for details.