24

Is there a way to bulk delete all my YouTube comments without restarting my channel or deleting anything else?

I couldn't really find a good solution anywhere else.

2
  • There is no quick, easy, or convenient way to bulk delete all YouTube comments, and there's definitely no way to mass-delete comments with any sort of useful control, like all comments you've made to a specific channel or all comments you've made with certain words. Google wants to KEEP all data, not let you remove data, and they want themselves to have all of the control, not let others have any control. ¬_¬
    – Synetech
    Commented Oct 31, 2021 at 0:35
  • 1
    I had the need to a) start deleting from the oldest comment b) and delete in batch quantities The script that I came up with is publicly accessible at gist.github.com/cprima/2f7ea8e353c18a666506021c85e9773d
    – cprior
    Commented Aug 24, 2023 at 6:04

4 Answers 4

20

Go to the YouTube Advanced Account Settings page:

  1. Press delete channel.
  2. Expand the "I want to hide my channel" section.
  3. Check everything and press the "HIDE MY CHANNEL" button.

You may need to wait a little before YouTube deletes your comments. You can check that all of your comments are deleted here: Comments History

If necessary, you can go to your channel page (or the Create Channel page) to un-hide it (it will ask you for you name again). Doing this will also private your subscriptions, videos, and playlists, but you can set them to public as needed.

NOTE: I actually found this myself, though it's identical to this YouTube video and this Technicles article.

2
  • "I want to hide my channel" doesn't appear to be an option on that page anymore. The options are to hide content or permanently delete all my content. Commented Jan 13, 2022 at 14:13
  • This sadly no longer works in 2024. It just hides the comments now until you un-hide.
    – seeafish
    Commented Nov 21 at 9:11
2

There is no way to bulk delete, without restarting your channel.

This answer will therefore specifically focus on how to delete comments, which is a painful way of removing all your content


You can only delete certain comments

  • You can delete comments that you've made on other people's videos.
  • You can delete comments that others have made on your videos.
  • You can remove comments that others have made by reporting them. If the comment gets enough votes, it will be removed.
  • You cannot delete multiple comments at once.
  • You cannot delete comments made before YouTube was bought by Google (October 2006).

How to delete

  1. Sign in
  2. Open the Watch page for the video you left the comment on
  3. Click the "All comments" link
  4. Find the comment you want to delete.
  5. Click the small triangle on the right side of the comment
  6. Click "Remove"
    • Ensure that you are logged in with the correct channel if you don't see the "Remove" option.
1
  • 1
    It's easier just to go to your History, then click Comment history, and delete from that page. Commented Mar 7, 2018 at 20:02
2
  1. Visit the comment list page in a desktop browser: https://www.youtube.com/feed/history/comment_history
  2. Continue scrolling to the bottom until you get to the very end of your comment history.
  3. Open the JavaScript console.
  4. Run this code snippet:
    let deleteButton = document.querySelector('button[aria-label*="Delete"');
    
    while (deleteButton !== null) {
        deleteButton.click();
        deleteButton.remove();
        deleteButton = document.querySelector('button[aria-label*="Delete"');
    }
    
  5. Keep the tab open and the screen awake until the multitude of "Deleting now" toast notifications stop appearing. Recommend using a program like Caffeine / Amphetamine to keep the computer awake.
  6. Open a new tab to the same page. Repeat the processes as needed.
-1

It is easy now. Go Here:

https://www.youtube.com/feed/history/comment_history

It is good practice to first edit the comment, to something null, before deleting it. The reason for this, is that this has a greater chance to delete anything that was posted, in case deleted comments are saved in their database. Thus, if the comment is edited first, that saved comment may only reflect the most recent edit.

9
  • This doesn't answer the question. The link just shows history of videos I've commented on. It doesn't provide a way to bulk delete comments. Commented Feb 26, 2020 at 15:11
  • 1
    @user1751825 It does answer, given that you can click, and delete. With a bit of javascript, everything can be deleted in bulk.
    – Anon
    Commented Feb 28, 2020 at 2:06
  • 1
    I had previously tried the link from mobile, where the behaviour is quite different. I can see that in desktop mode is does indeed list the comments directly. Not quite deleting in bulk, but helpful nontheless. I'll remove my downvote. Commented Feb 28, 2020 at 3:53
  • 1
    ``` function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function d() { var i=0; document.body.querySelectorAll('.VfPpkd-Bz112c-LgbsSe.yHy1rc.eT1oJ').forEach(async (e) => { await sleep(1000 * i++); e.click(); }); } d(); ``` Replace the selector of the <button> element representing the delete (X) button. It waits a second in between each click. You may have to run it multiple times because the page autoloads more and those don't exist in the DOM at the time this is run. Commented Apr 13, 2021 at 5:50
  • @StevenLinn great solution. Still works. Didn't even have to change the class names. Thanks!
    – jscul
    Commented Apr 23, 2021 at 2:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.