Youtube: How to delete all liked videos at once from playlist

07 Apr

UPDATE: 08/12/2020

Now it is easy to delete all your likes.

(Note: This will delete your your likes and dislikes on YouTube videos from all time. Your activity will be permanently deleted from your account and no longer tied to you.)

Outdated Solution.

How to remove all your liked videos in your liked videos playlist on youtube.  As you may already know it is impossible to delete the “liked videos playlist” itself. So we will have to remove all the items in it. Doing that one by one will take a long time.

So the below solution will help to remove all videos at a time.

  • open you-tube
  • click on liked videos playlist
  • click on edit option (It will be under playlist name)
  • in the address tab add the following to the URL “&advanced_settings=1&disable_polymer=1”
  • open browser console (by pressing Ctrl + Shift + j)
    • Chrome: Windows: Ctrl + Shift + J | Mac: Option + Cmd + J
    • FireFox: Windows: Ctrl + Shift + K | Mac: Option + Cmd + K
    • Opera: Windows: Ctrl + Shift + J | Mac: Option + Cmd + J
    • Edge: Press “F12 “and then click on the “Console” tab.
    • Safari: Option + Cmd + C (You have to turn on the “Develop menu” . Click on Safari in upper left corner >> Preferences >> Advanced tab. >> At the bottom  check the box next to “Show Develop menu in menu bar”.)
  • Then insert the java-script code given at the bottom exactly as it shows.
  • reload the page and do again until your playlist is cleared. (or you can scroll down and click load more to show more items in the playlist prior to running the code)
  • Done!
var items = $('body').getElementsByClassName("pl-video-edit-remove-liked-video"); 
for(var i = 0; i < items.length; i++){

Posted by on April 7, 2019 in Windows


21 responses to “Youtube: How to delete all liked videos at once from playlist

  1. Anonymous

    March 19, 2023 at 2:55 pm



  2. Anonymous

    December 13, 2022 at 8:41 am

    Thank you for the updated solution!


  3. cc

    November 7, 2022 at 7:29 am

    Great! Thanks a lot!!!


  4. Katy Skarlette

    March 30, 2021 at 5:14 am

    When I put in the coding bit it says undefined, and after I hit enter nothing is deleted and I get a few red messages in the box saying err_blocked_by_client. Any change there’s another way to delete them all?


  5. Bobar

    March 12, 2021 at 3:55 am

    Thank you very much Neseef, I got sick of this same js code inserted everywhere I searched for this issue.
    Turns out you can simply do it on Google My Activity page!


  6. Anonymous

    January 20, 2021 at 4:45 am

    New method worked great, thanks!

    Liked by 1 person

  7. Anonymous

    January 20, 2021 at 4:44 am

    New method worked well thank you!

    Liked by 1 person

  8. Anonymous

    December 6, 2020 at 11:12 am

    Getting undefined in the console, please help, I am tyring to do it using chrome


    • NesiSamurai

      December 7, 2020 at 8:52 am

      confirmed. I got the same error. I will check for another solution.


      • Anonymous

        December 8, 2020 at 6:04 pm

        You’re an angel

        Liked by 1 person

        • NesiSamurai

          December 9, 2020 at 7:09 am

          Post updated with new solution.


  9. Anonymous

    October 30, 2020 at 11:17 pm

    thank you!!

    Liked by 1 person

  10. Anonymous

    June 18, 2020 at 9:04 pm

    THANK YOU !!

    Liked by 1 person

  11. Anonymous

    June 10, 2020 at 10:55 pm

    thanks, worked like a charm

    Liked by 1 person

  12. Anonymous

    May 14, 2020 at 5:24 am

    It doesnt work on me, I wonder why….

    Liked by 1 person

  13. Sofiane Daïffi

    April 27, 2020 at 10:20 am

    Work with Chrome, thanks!

    Liked by 1 person

  14. Anonymous

    April 12, 2020 at 5:13 pm

    Wow – it worked! LOL and how did it happened? I’m now curious about this code haha now my liked videos are now empty, thank you so much for the help you’re a star!

    Liked by 1 person

  15. Anonymous

    April 11, 2020 at 1:03 am

    Thank you!!! This does work.

    Liked by 1 person

  16. Anonymous

    January 20, 2020 at 8:52 pm

    This does not work


    • StupidFool

      January 21, 2020 at 12:59 pm

      I confirmed that this is not working.

      They have changed the website code. I will update this post if I find a solution.

      UPDATE: post is updated with new working solution.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: