Show HN: Script to bulk delete Claude chats from the web UI

github.com

34 points by ML0037 3 hours ago

I haven't found a way to delete all chats in bulk like you can on Chatgpt. With Claude, you have to scroll to the bottom, select everything, and delete. The problem is, if you have a lot of chats, it becomes impossible. I created this script. It does it alone. I hope it helps someone.

(conversations disappear from the UI slowly, over several minutes, and remember to keep the tab open until the console shows "Finished", refreshing away from the page can stop the deletion process.)

crystal_revenge 22 minutes ago

For pure, weird, late-night LLM chats, I've recently started using Qwen3.6-35B-A3B-Uncensored just running with llama-cli and it is a very refreshing chat experience.

Uncensored model means it will not deny any requests (at least I have yet to come across one), if you grew up in the 90s it sort of feels like coming across the anarchist cookbook for the first time (though with more accurate content). Using llama-cli means the session is entirely local and entirely ephemeral. As a bonus all the reasoning steps are fully visible to the user.

The base Qwen3.6-35B-A3B is more than adequate for "weird late night brainstorming chats" and I've really started to dislike the natural tendency to self-censor when the model is willing to refuse (and potentially report) any requests it feels is "inappropriate" and all these private thoughts are stored on someone else's server.

c7b 49 minutes ago

Wouldn't downloading conversations be more useful? If you've input something into Claude that you don't want a future trillion-dollar US company (a bicorn?) to know, this script won't help I'm afraid. Free reminder that local AI exists and works well if you're willing to tinker a bit.

cpeterso 30 minutes ago

The Claude (and ChatGPT) web UI supports incognito/temporary chats that are discarded when you close the tab. Click the ghost or dotted speech bubble icon in the upper right corner of the page.

I use this as my default mode so I don't clutter my chat history with random, one-off questions I ask. Unfortunately, there is no way to change your mind and save a productive incognito chat after you've started chatting.

ur-whale 1 hour ago

Which of course assumes, that the "delete chat" function actually deletes anything from Anthropic's datastore.

petesergeant 1 hour ago

How are you managing it with ChatGPT? I've always found Claude relatively easy to do it with, but unless they've changed it in the last few weeks it's hard with ChatGPT.

Edit: I should add I often want to keep one or two reference chats, so the "nuke all chats" button doesn't work for me.

  • ML0037 1 hour ago

    Hi! for ChatGPT I go in settings -> Data Controls -> delete all chat

alfanick 1 hour ago

"hey, here is a script called delete-all, that deletes all. you need to copy and paste it into your console that you need to open with f12 or whatever. and then it deletes all, trust me, it's safe". State of June 2026. /s

  • 542458 1 hour ago

    It's 100 lines of unobfuscated js. If you're worried just read it.

    • alfanick 1 hour ago

      `sudo rm -rf /` one line of unoobfuscated shell. /s

turkeyboi 2 hours ago

Delete account. Make new.