Automated tools to mass delete (bulk remove) and wipe chat history from Google Gemini and Google AI Studio.
Google does not offer a way to delete multiple chats at once in Gemini or Google AI Studio, and doing it manually can be tedious. This repository hosts two distinct browser UserScripts designed to serve as a comprehensive chat history cleaner for Google's AI platforms. Whether you need to perform a batch deletion of prompts in AI Studio or purge conversations in Gemini, these tools automate the process.
These scripts provide a "Delete All" and "Delete Selected" experience, functioning as a conversation wiper to help you maintain privacy and organization without manually clicking through hundreds of menus.
- Mass Deletion: One-click solution to clear history by automating the removal of all chats in the sidebar.
- Select & Delete: Checkboxes allow for precise removal of specific conversations.
- Smart DOM Interaction: Deletes items sequentially without requiring a full page reload for every action.
- Safety Stop: A visible "Stop" button allows you to halt the automated deletion process instantly.
- Status Indicators: Visual emojis indicate when the bulk removal is in progress.
- Visual Progress Bar: Real-time progress indicator showing "Deleting X of Y..." with a percentage bar.
- Range Selection: Use
Shift + Clickto select a range of chats instantly. - Select All: A master checkbox to select all currently visible chats.
- Undo Timer: A 5-second countdown with a "Cancel" option before deletion starts.
- Preserve Gems & Pinned Chats: Automatically detects and skips pinned chats, ensuring your important conversations are safe. Only standard chats are deleted, your Gems will be preserved.
- Batch Deletion: Wipes the entire library by deleting items in batches and auto-reloading until empty.
- Select & Delete: Adds checkboxes to the interface, allowing for specific mass deletion of selected items.
- Master Checkbox: Select or deselect all visible rows for quick bulk removal.
- Auto-Recovery: Automatically resumes the cleaning process after page reloads to handle large libraries.
- Range Selection: Use
Shift + Clickto select a range of items instantly. - Undo Timer: A 5-second countdown with a "Cancel" option before deletion starts.
- Visual Progress Bar: Persistent progress bar that tracks deletion status across page reloads.
To use these tools, you need a UserScript manager such as Tampermonkey.
- Install the Tampermonkey extension for your browser.
- Click one of the Install links below.
- Review the script in the new tab and click Install.
- Refresh the Google Gemini or AI Studio page to see the new controls.
You can use these Greasy Fork links or copy/paste the source code from GitHub into a new User Script from your Tampermonkey.
- Google AI Studio Bulk Delete: Install Link - GitHub source
- Gemini Bulk Chat Deleter: Install Link - GitHub source
- Navigate to the Gemini app.
- To Wipe Everything: Click the 🔥 Delete All button in the top-right header area.
- To Delete Specifics: Check the boxes next to the chats you want to remove, then click ✅ Delete Selected.
- The script will iterate through your sidebar to wipe the chosen chats.
- Click 🛑 Stop at any time to pause.
- Navigate to your AI Studio Library.
- To Wipe Everything: Click 🔥 Delete All. The page will reload multiple times as it processes the batch deletion.
- To Delete Specifics: Check the boxes next to the chats you want to remove, then click 🗑️ Delete Selected.
Usage At Your Own Risk: These scripts are third-party tools and are not affiliated with Google. Using a chat history cleaner is permanent; deleted data cannot be recovered. These scripts allow you to mass-delete content, but the author assumes no responsibility for data loss or account issues.
This script's operation depends on the current Document Object Model (DOM) of the Google AI Studio platform. Modifications to the website by Google are likely to render this script non-functional in the future. While the author does not plan on providing proactive updates or support, contributions in the form of GitHub pull requestsare welcome.

