Batmail

Free tool, no signup

To mass delete emails in Gmail, search, select every match, then delete.

Pick what to clear, such as old promotions or big attachments, and get the Gmail search that selects all of it.

Where to look

Inbox tabs to clear

Leave all four empty to search every tab.

Larger than

More filters: a date, senders, words, read state, attachments

Addresses or domains, separated by commas.

Searched as an exact phrase.

Your Gmail search

in:inbox category:promotions older_than:1y -is:starred -is:important

It finds: Emails in your inbox in the Promotions tab, older than one year, leaving out anything starred or marked important.

  • in:inboxOnly mail in the inbox.
  • category:promotionsOnly the Promotions tab.
  • older_than:1yReceived older than one year.
  • -is:starredLeaves out starred mail.
  • -is:importantLeaves out mail marked important.
Open in Gmail

Then, in Gmail on a computer:

  1. 1Open the search in Gmail on a computer.
  2. 2Tick the select box at the top left of the list, then click the link above the list that selects every conversation matching the search.
  3. 3Click Delete. The mail moves to Trash, where it stays for 30 days, then empty the Trash to get the space back.

A mass delete clears the pile once. Batmail works the new mail every night.

On a computer

To delete all emails in Gmail, select every conversation, then click Delete.

The Select box ticks only the emails on the page. Gmail then offers a link that selects every conversation, which is how you delete thousands of emails at once.

  1. Open the place you want to clear: Inbox, a tab such as Promotions, or All Mail.
  2. Tick the Select box at the top left of the list. This ticks the emails on the page.
  3. A message above the list says the conversations on the page are selected. Click the link in it that selects every conversation.
  4. Click Delete at the top. The emails move to Trash.

Source: Gmail Help: Delete messages in Gmail, read 28 October 2026.

To delete multiple emails, tick the box next to each one, then click Delete.

Use this when you want to pick the emails yourself. Tick the box next to each message, then click Delete at the top. In the app, long-press each message instead, then tap Delete at the top.

Source: Gmail Help: Delete messages in Gmail, read 28 October 2026.

By sender, age or category

To delete by sender, age or category, search first, then select all the results.

Type a search into the Gmail search bar, and the list shows only the mail that matches. Select every conversation in that list as above and click Delete. These are some of the operators Google lists for Gmail search.

Put more than one in a search, such as category:promotions older_than:1y. Add -is:starred -is:important to leave starred and important mail out.

The builder at the top of this page writes the whole search for you from the choices you make.

Sources: Gmail Help: Refine searches in Gmail, Gmail Help: Delete messages in Gmail, read 28 October 2026.

On a phone

The Gmail app can delete many emails at once, but a computer is faster for thousands.

The steps are the same on an iPhone, an iPad and an Android phone, apart from the menu names below.

On an iPhone or iPad

On an iPhone or iPad, long-press an email, tap Select all, then tap Delete.

In the app, Select all picks up to 50 emails at a time by default. For thousands of emails, use a computer, where one click selects every match.

  1. Open the Gmail app. To delete only some mail, tap the search bar and type a search first, such as category:promotions older_than:1y.
  2. Long-press one email.
  3. In the upper-left corner, tap the checkbox next to Select all.
  4. Tap Delete at the top.

To select 50 more, scroll back to the top and tap the Select all checkbox again.

To delete with a swipe, tap Menu, then Settings. Under Inbox, tap Inbox customizations, then Mail swipe actions, and set Right swipe or Left swipe to Trash.

Source: Gmail Help: Delete messages in Gmail (iPhone & iPad), read 28 October 2026.

On an Android phone

On an Android phone, long-press an email, tap Select all, then tap Delete.

In the app, Select all picks up to 50 emails at a time by default. For thousands of emails, use a computer, where one click selects every match.

  1. Open the Gmail app. To delete only some mail, tap the search bar and type a search first, such as category:promotions older_than:1y.
  2. Long-press one email.
  3. In the upper-left corner, tap the checkbox next to Select all.
  4. Tap Delete at the top.

To select 50 more, scroll back to the top and tap the Select all checkbox again.

To delete with a swipe, tap Menu, then Settings, then General settings, then Swipe actions. Tap Change next to Right swipe or Left swipe and pick Delete.

Source: Gmail Help: Delete messages in Gmail (Android), read 28 October 2026.

Trash

Deleted emails wait in Trash for 30 days, and you can empty Trash sooner.

Google says a deleted message stays in Trash for 30 days, and after that it is permanently deleted. Until then you can move it back.

On a computer

  1. In the left panel, click More.
  2. Click Trash.
  3. At the top, click Empty Trash now.

To get an email back instead, tick it in Trash, click Move to, and pick where it should go.

On an iPhone or iPad

  1. At the top left, tap Menu.
  2. Tap Trash.
  3. At the top, tap Empty trash now.

To get an email back instead, long-press it in Trash, tap More at the top right, then Move, and pick where it should go.

On an Android phone

  1. At the top left, tap Menu.
  2. Tap Trash.
  3. At the top, tap Empty trash now.

To get an email back instead, long-press it in Trash, tap More at the top right, then Move to, and pick where it should go.

Google says items in Trash and Spam count against your storage until you permanently clear them, so emptying Trash is the quickest way to get the space back.

Sources: Gmail Help: Delete messages in Gmail, Gmail Help: Delete messages in Gmail (iPhone & iPad), Gmail Help: Delete messages in Gmail (Android), Gmail Help: Manage your storage in Drive, Gmail & Photos, read 28 October 2026.

If you are not sure you will never need an email, archive it instead of deleting it. The Gmail archived email finder shows where archived mail goes and how to bring it back.

How to use it

Here is how to clear thousands of emails in a few clicks.

The search updates with every choice. Nothing is deleted until you press Delete in Gmail yourself.

  1. Choose where to look and what to clear: a tab such as Promotions, an age, a size, a sender or a phrase.
  2. Keep starred and important mail out of the search unless you really mean to delete it. Both boxes start ticked.
  3. Press Open in Gmail, or copy the search into the Gmail search box on a computer.
  4. Tick the select box at the top left of the list, then click the link above the list that selects every conversation matching the search, not only the ones on the page.
  5. Click Delete. The mail moves to Trash, and Google's help page says it stays there for 30 days before it is gone for good.

These three searches show what the builder writes.

An overflowing Promotions tab goes in one search.

Ottilie Fenwright never reads shop newsletters and has years of them. She keeps Inbox only, picks the Promotions tab and older than 1 year, and the builder writes in:inbox category:promotions older_than:1y -is:starred -is:important. Gmail finds every promotion more than a year old, and her starred receipts stay where they are.

Big attachments free the most space.

Kasimir Aldercott's storage is nearly full. He picks All mail, no tab, larger than 10 MB and with an attachment, and gets larger:10M has:attachment -is:starred -is:important. Each match is one heavy email, so deleting a few of them frees more space than deleting many small newsletters.

One noisy sender goes without touching the rest.

The team at Hallowmere Print Co still gets alerts from a portal they stopped using. One of them chooses All mail, types the portal's address in the sender box and clears the tab and the age, and the builder writes from:alerts@portal.example -is:starred -is:important. Every one of those alerts goes, wherever it was filed.

Source: Google's Gmail help page on deleting messages, and its storage help page for what counts against storage, both read 16 October 2026.

These are the mistakes that make a mass delete go wrong.

  • Only the first page was deleted.

    Ticking the select box picks only the conversations shown on the page. Click the link above the list that selects every conversation matching the search, or the rest stay.

  • Starred and important mail went with the rest.

    A search for a whole tab or an age catches everything in it. Leave the two keep boxes ticked so the search skips starred and important mail.

  • The storage did not go down.

    Deleted mail waits in Trash, and Google counts Trash against your storage. Empty it once you are sure, and the space comes back.

  • The clear-out was tried on a phone.

    Google's help page describes selecting every matching conversation in Gmail on a computer. Do the big clear-outs there.

Two other free tools help once the pile is gone.

Questions

These are the questions people ask.

The answers worth having before, and after, you use the tool.

How do I mass delete emails in Gmail?

On a computer, search for the mail you want gone, or open the inbox or a tab. Tick the Select box at the top left of the list, click the link above the list that selects every conversation, then click Delete. The builder above writes the search for you, and leaves starred and important mail out unless you untick those two boxes.

How do I delete all emails in Gmail?

Open All Mail, tick the Select box at the top left, click the link that selects every conversation in All Mail, then click Delete. The emails move to Trash, where Google deletes them for good after 30 days. Open Trash and click Empty Trash now to clear it sooner.

How do I delete thousands of emails in Gmail at once?

Use Gmail on a computer. The Select box ticks only the emails on the page, and the link that appears above the list selects every conversation, however many there are. In the Gmail app, Select all picks up to 50 emails at a time by default, so a computer is quicker for thousands.

How do I delete multiple emails in Gmail?

On a computer, tick the box next to each email and click Delete at the top. In the Gmail app, long-press each email you want gone, or long-press one and tap the Select all checkbox at the top left, then tap Delete at the top.

How do I delete emails from one sender, or older than a date?

Search first, then select the results. from:alerts@portal.example finds one sender, older_than:1y finds mail older than a year (d is days, m is months, y is years), and category:promotions finds the Promotions tab. The builder above combines them, and you then select every conversation and click Delete.

Where do deleted emails go, and can I get them back?

To Trash. Google's help page on deleting messages says they stay there for 30 days and are then deleted for good, so until then you can open Trash, tick them, click Move to and put them back. Google also counts Trash against your storage, so empty it if you want the space back.

A mass delete clears the pile once. Batmail works the new mail every night.

A mass delete clears the pile once, and then it grows back. Batmail works the new mail every night: plain-English rules archive and label what you would have deleted, and every action is logged with the reason.

Batmail rules written in plain English, each with its conditions and the actions it takes, in priority order.
Rules in plain English, so the clutter you just deleted is handled the night it arrives. Screenshot of Batmail, on sample data.

More free tools

There are more free tools here.

All free, all without an account.

To keep new mail from piling up again, a filter can delete or archive it on arrival, and unsubscribing or blocking stops it at the source: Auto delete emails in Gmail, Mass unsubscribe in Gmail, Block emails in Gmail. The rest are in all the guides.