A new GitHub repository lets users delete many Claude conversations from the web interface without clicking through each one individually. The project surfaced on Hacker News where it earned 51 points and 18 comments.
The script targets the claude.ai web UI directly. It automates selection and deletion of chat entries that would otherwise require repeated manual confirmation.
What the Script Does
Users run the script in a browser context to select and remove chats in batches. It interacts with the existing DOM elements on the conversations list page rather than relying on any official API endpoint.
No account credentials are stored. The tool operates only while the user remains logged into claude.ai in the same browser session.
How to Try It
Clone the repository from https://github.com/MatteoLeonesi/bulk-delete-claude-chat. Follow the README instructions to load the script as a bookmarklet or console snippet.
Open the Claude conversations page, run the script, and specify the number of chats to remove. The process stops automatically once the selected batch completes.
Pros and Cons
- Removes dozens of chats in seconds instead of minutes of repetitive clicks.
- Requires no API keys or additional accounts.
- Works only on the current web session and stops if the page layout changes.
- Provides no undo function once deletion begins.
Early HN comments noted that the script succeeds on standard account views but may need updates after UI changes by Anthropic.
Alternatives and Comparisons
| Method | Speed | Risk Level | Requirements |
|---|---|---|---|
| Manual deletion | 1 chat per 5-8 seconds | Low | None |
| This GitHub script | 30-60 chats per minute | Medium | Browser console access |
| Anthropic API (if available) | Batch via code | Low | API key and rate limits |
No native bulk-delete button exists in the claude.ai interface as of the latest public version. Browser extensions for session automation offer similar speed but introduce third-party permissions.
Who Should Use This
Developers and power users who maintain hundreds of test conversations benefit most. Researchers running repeated prompt experiments also gain time savings.
Casual users with fewer than twenty chats should continue manual deletion to avoid any script-related page interaction risks.
Bottom Line
The script fills a clear gap in the Claude web UI by enabling batch removal that Anthropic has not yet provided.
The repository remains actively referenced on Hacker News threads discussing Claude workflow friction. Future updates will likely track any changes to the conversations list DOM.

Top comments (0)