AI-Powered Gmail Filters

How to clean up Gmail filters: copies, overlaps and dead filters

23 November 2026 · 3 min read

Nobody plans a filter list. It grows one annoyance at a time, and after a few years it holds copies of the same filter, filters for senders who stopped writing, and one filter per newsletter where one filter would do. Gmail's settings page shows them as a long column of search terms, which is why most people never tidy it.

Here is how to do it in one sitting.

1. Get the whole list in one file

  1. In Gmail, open Settings → See all settings → Filters and Blocked Addresses.
  2. Tick the box above the list to select every filter.
  3. Click Export at the bottom. Gmail downloads mailFilters.xml.

Keep that file. It is a full backup: if the clean-up goes wrong, Import filters on the same page puts every filter back.

2. Find the copies

The same filter made twice is the commonest leftover, usually from creating it once from an email and again from settings. Gmail runs both, so nothing looks wrong, but every later edit has to be made twice. Two filters are copies when the search and the actions are the same. Delete all but one.

3. Merge filters that do the same thing to different senders

Ten filters that each skip the inbox for one newsletter are one filter waiting to happen. Gmail's From box takes OR, so one filter can cover all of them:

from:(news@medium.com OR digest@substack.com OR hello@producthunt.com)

Create that filter with the shared action, check it with a search first, then delete the ten. The next newsletter is one more OR, not one more filter.

4. Merge filters on the same emails, but not across labels

Two filters with the same search and different actions (one archives, one marks read) can be one filter that does both. The exception is labels: a Gmail filter puts on one label, so if you want two labels on the same mail, two filters is the only way, and they should stay.

5. Look hard at filters that delete or forward

6. Remove filters that do nothing

A filter whose only action was a label you later deleted keeps running and does nothing. In the settings list it shows a search and no action. Delete it, or give it an action again.

Let the file be read for you

Steps 2 to 6 are slow by eye on a list of fifty. Our filter checker reads the mailFilters.xml from step 1 and lists every filter in plain words, with the copies, the overlaps, the senders that could share one filter, and the filters that delete, forward or do nothing. There is no sign-in, it never touches your Gmail, and the file is not kept.

Then make the changes in Gmail's settings, or sign in to Gmail Filters to import the file, edit the rules in plain English, and download a clean file. Delete the old filters in Gmail before importing it, or you'll have both.

Write the filter in a sentence. Gmail Filters turns "archive LinkedIn and mark it read" into a Gmail filter, opens its search in Gmail so you see what it catches, and gives you the file to import. Free, and you can try it without signing in.

Try it free