Skip to content

Build several Gmail filters at once

Start from common rules, edit them together, and download one file to import the whole batch into Gmail.

Updated Free to use

Build a batch of Gmail filters

Add several rules, review them together, then import them into Gmail in one step.

Match mail where
Then do this
Filters to import

Finish at least one filter with a match and an action to export.

Use this for a batch, not one filter

Gmail's own form is simpler for one filter. Use this page when you need several rules or want to start from the recipes. If you only need to find mail once, use the Gmail search query builder instead.

How to import filters into Gmail

Import lives in Gmail settings on the web. One file can hold many filters, and Gmail adds them next to the filters you already have instead of replacing them.

  1. Open Gmail on the web, click the gear icon, then click "See all settings."
  2. Open the "Filters and Blocked Addresses" tab.
  3. Scroll to the bottom and click "Import filters."
  4. Click "Choose File," pick the file you downloaded, then click "Open file."
  5. Review the filters Gmail lists. To also sort mail already in your account, check "Apply new filters to existing conversations." Then click "Create filters."

Review the list before saving. Overlapping filters will both run.

Questions, answered.

No. The builder writes the XML file in your browser. Nothing goes to us or to Google until you import the file into Gmail yourself.

More inTools

Related resources

from:amy@example.com
has:attachment
after:2026/01/01
-subject:newsletter
ToolsFree tool

Gmail search query builder

Build Gmail search operators from plain-English fields for senders, recipients, subjects, dates, attachments, unread mail, and large files, then copy it.

CSV checks
2 flagged
Email
First name
Domain
info@acme.com
missing
acme.com
jane@company.io
Jane
company.io
bob@gmail.com
Bob
gmail.com
ToolsFree tool

Cold email CSV checker

Paste a cold email CSV and get an import decision for each flag, from missing names and duplicates to role-based and free-mail addresses, before you send.

AI assistants5 min read

What a Gmail email assistant should actually help with

Does Gmail's built-in Gemini AI already cover your email, or do you need more? What Help me write handles, where it falls short, and when to add a layer.

SPF
pass
DKIM
pass
DMARC
pass
send-workermail.relay
origin
mail.relaymx.inbox
+2s
mx.inboxdelivered
+1s
ToolsFree tool

Email header analyzer for delivery delays

Paste raw email headers to reorder the delivery path, find hop delays and sender-domain differences, and inspect recorded authentication results.

re_invoice.emlContract query.msg2026-07-17.emlFW_ site visit.msg
4 filesone searchable list
Dana ReyesRe: Invoice 4471
Lee NakamuraContract query
Priya RamanFW: Site visit Thursday
ToolsFree tool

EML and MSG viewer

Read saved .eml and .msg files in your browser. Drop in loose messages, a folder, or a zip, and search across everything you opened.

report.mbox
Reply check
Ava Chen
Re: kickoff call
Replied
Ben Ortiz
Proposal follow-up
No reply
Dana Lee
Intro from the event
—
ToolsFree tool

MBOX viewer

Open a Gmail Takeout .mbox archive in your browser. Search by sender, subject, label, or date, find who never replied, and see reply times per contact.

Email that keeps moving.