• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to delete all photos and videos in Google Photos in seconds

AnonyViet by AnonyViet
March 7, 2025
in Tips
0

Google Photos is Google's online photo storage service. With a Google (Gmail) account you can store 15GB of high quality or non -gender photos compressed by Google. After the Flick incident of Yahoo charge, Google is now the world's top popular image. On the one hand is to share the account with Gmail, Google Drive, on the one hand, it is free.






Join the channel Telegram belong to Anonyviet 👉 Link 👈

If you come one day, you want to delete all images and videos in empty space, what to do? Google Photos only allows deleting photos, not all. Instead of clicking each photo to delete, you can use the code to delete a series of photos.

How to delete all photos and videos in Google Photos in seconds

Method 1: Use code to delete a series of photos in Google Photos

Google photos currently support both PC and Mobile. If you are a photographer, you can choose Google Photos to store photos instead of phone memory. This will help you save a lot of capacity for your phone. However, to synchronize the unrelated photos on this Cloud will create quite a lot of garbage images. If you want Delete all photos and videos on Google Photos It can be done as follows:

Step 1: Access Google Photos website equal to your Google account.

Step 2: Open Devtools by 1 of 3 ways

  • Press F12 or C key
  • Right -click on the web selection Check (Inspect)
  • Press the key combination Ctrl + Shift + I

Step 3: Select to the console tab and paste the code below and click Enter

The code is shared by gdrive.vip

// Nhấn nút chọn hình ảnh, video và xóa
const ELEMENT_SELECTORS = {
    checkboxClass: '.ckGgle',
    deleteButton: 'button[title="Xóa"]',
    confirmationButton: '#yDmH0d > div.llhEMd.iWO5td > div > div.g3VIld.V639qd.bvQPzd.oEOLpc.Up8vH.J9Nfi.A9Uzve.iWO5td > div.XfpsVe.J9fJmf > button.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.nCP5yc.kHssdc.HvOprf'
}
// Tự động xóa toàn bộ hình ảnh, video trong bởi https://gdrive.vip/
// Cấu hình thời gian (milliseconds)
const TIME_CONFIG = {
    delete_cycle: 7000,
    press_button_delay: 2000
};

let imageCount = 0;

let checkboxes;
let buttons = {
    deleteButton: null,
    confirmationButton: null
}

let deleteTask = setInterval(() => {

    checkboxes = document.querySelectorAll(ELEMENT_SELECTORS['checkboxClass']);

    if (checkboxes.length <= 0) {
        console.log("[THÔNG TIN] Không còn hình ảnh (video) để xóa.");
        clearInterval(deleteTask);
        console.log("[THÀNH CÔNG] Đã thoát.");
        return;
    }

    imageCount += checkboxes.length;

    checkboxes.forEach((checkbox) => { checkbox.click() });
    console.log("[THÔNG TIN] Đang xóa...", checkboxes.length, "hình ảnh (video)");

    setTimeout(() => {

        buttons.deleteButton = document.querySelector(ELEMENT_SELECTORS['deleteButton']);
        buttons.deleteButton.click();

        setTimeout(() => {
            buttons.confirmation_button = document.querySelector(ELEMENT_SELECTORS['confirmationButton']);
            buttons.confirmation_button.click();
        }, TIME_CONFIG['press_button_delay']);
    }, TIME_CONFIG['press_button_delay']);
}, TIME_CONFIG['delete_cycle']);

or

Download code at github

Code delete all photos and videos in Google Photos

Step 4: Wait a few seconds To operate code. You not only need to leave the mouse and the keyboard, do not manipulate. Code will choose photos and videos to delete for you. When successful will see the notice below:

Delete Google Photos

Deleting time is calculated in milliseconds. If you have a slow loading or the image does not delete it all, increase the number in 2 lines:

  • Delete_Cycle: 7000
  • press_button_delay: 2000

Thus the code will automatically delete all images and videos in your Google Photos. Consider when using!

Method 2: Use the Shift key to select all photos

This method is quite simple if you have few pictures saved on Google Photos. Just use the mouse and the Shift key to select all photos to delete.

Step 1: Click the first photo

Use Shift key to select all photos to delete in Google Photos

Step 2: Hold the Shift button simultaneously rat down Last photoand Click on the last image.

Select all images to delete in Google Photos

Step 3: At this time all images and videos have been checked. You just need to choose garbage bin symbol To delete.

Note

Images and videos after being deleted are still in trash can. You access the path https://photos.google.com/trash select Clean the trash To release the capacity.

  • How to delete all photo, video in google photo
  • Quick Remove All Video Photo in Google Photos
Previous Post

Summary of websites to receive SMS online to confirm accounts

Next Post

How to exploit the holy hole of Hijacking on Windows

AnonyViet

AnonyViet

Related Posts

How to use CMD environment variables in Windows
Tips

How to use CMD environment variables in Windows

January 18, 2026
How to add or remove columns in File Explorer Windows 11
Tips

How to add or remove columns in File Explorer Windows 11

January 17, 2026
Sign up for Pluralsight One for 1 year of free access to Online courses
Tips

Sign up for Pluralsight One for 1 year of free access to Online courses

January 16, 2026
How to schedule a Batch file (CMD) to run on Windows
Tips

How to schedule a Batch file (CMD) to run on Windows

January 15, 2026
Instructions for downloading Facebook Videos with new interface 2021
Tips

Instructions for downloading Facebook Videos with new interface 2021

January 14, 2026
How to get ChatGPT K-12 Teacher for free
Tips

How to get ChatGPT K-12 Teacher for free

January 13, 2026
Next Post
How to exploit the holy hole of Hijacking on Windows

How to exploit the holy hole of Hijacking on Windows

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

January 20, 2026
How to use Microsoft 365 for free, no installation required

How to use Microsoft 365 for free, no installation required

January 20, 2026
Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

January 20, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

https://sun52.network

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

https://sun52.network

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply