Skip to content

Instantly share code, notes, and snippets.

View zanardob's full-sized avatar

Guilherme Zanardo zanardob

View GitHub Profile
@Jalalx
Jalalx / DeleteAllClaudeAiChats.md
Last active March 24, 2025 09:16
Script to delete Claude AI conversations history without any dependency or using external tool.

What is this?

You want to delete all your conversations with Claude AI, but there is no button to clean them by one click (Like what ChatGPT has). Using this instructions, you can clean all conversations. No dependency or external tool is needed (except your Google Chrome browser!)

To delete all chats with the Claude AI:

  1. Open Google Chrome and go to https://claude.ai
  2. Login to your account and start a new chat conversation
  3. Open DevTools and go to the Network tab
  4. You need to find the origanization id. Paste the https://claude.ai/api/bootstrap in the Filter input to find the calls to that URL. If you could not find it, reload the page. Also make sure you are selecting the "All" type. You will see calls that contain a uuid in the url which is your organization id.
  5. Now move to the Console tab and then paste the following two functions:

function deleteConversation(organizationID, uuid) {