MailDepth

How to search a Gmail Takeout (.mbox) export

Updated 28 November 2026

Short answer: Google Takeout gives you your Gmail as one large .mbox file inside a .zip. Unzip it, then open the .mbox file in a program that reads it. Thunderbird can import it for free. To search all of it at once, including the text inside attachments and scanned documents, use a full-text search tool such as MailDepth.

Why people download their Gmail

To keep a copy before closing an account, when a company or school account is about to be deleted, to free up Google storage, or simply to have an archive that does not depend on one service. The export is called Google Takeout, and the mail comes in the .mbox format.

Step 1: download your mail with Google Takeout

  1. Go to takeout.google.com and sign in to the Gmail account.
  2. Click Deselect all, then scroll down and tick only Mail. If you only need some labels, click All Mail data included and pick them.
  3. Click Next step. Choose Send download link via email, Export once, file type .zip, and the largest file size, so the mail is not split into many parts.
  4. Click Create export.

Google sends the download link by e-mail, usually within a few hours, for very large mailboxes sometimes a day or two. The link works for about a week, so download the file soon.

Step 2: find the .mbox file

Unzip the download (right-click, Extract All on Windows, double-click on a Mac). Inside you find:

Takeout\Mail\All mail Including Spam and Trash.mbox

That one file holds all your mails, with their attachments. Gmail labels are stored inside each mail, so they are not lost. Move the .mbox file to a folder where you keep it, for example Documents\Mail archive.

As the file name says, spam and trash are included too, unless you picked only certain labels in step 1.

Step 3, option A: import it into Thunderbird (free)

Thunderbird is a free mail program. With its free add-on ImportExportTools NG you can import an .mbox file as a local folder, then read and search it. This works well for small and medium exports. For large exports the import takes a long time, all mails land in one folder, and the search does not look inside attachments.

On a Mac, Apple Mail can also import an .mbox file (File, Import Mailboxes).

Step 3, option B: search it in the browser with MailDepth

MailDepth is a mail archive search program that runs in Chrome or Edge. It reads the .mbox file on your own computer, so your mail is not uploaded anywhere.

  1. Open maildepth.com/app in Chrome or Microsoft Edge and sign in with your e-mail address.
  2. Choose Add mailbox and pick the .mbox file.
  3. Search. Your Gmail labels appear as folders, and the words inside PDF, Word, Excel and PowerPoint attachments and scanned documents are found too.

If you have old Outlook .pst files as well, add them too and search everything together. MailDepth is free for your newest 1,000 mails.

Search your Gmail export, attachments included. Free for your newest 1,000 mails.

Open MailDepth

Questions

Can I open an .mbox file in Outlook?

Not directly. Outlook uses .pst files and has no .mbox import. Converting is possible with extra tools, but it is often easier to use a program that reads .mbox itself.

How do I add newer mail later?

Make a new Takeout export and add the new .mbox file. In MailDepth, mails it already has are skipped, so nothing appears twice.

Can I search a Gmail export from Google Workspace (company account)?

Yes, if Takeout is allowed for your account. If it is not, your administrator can export the mailbox. The result is the same .mbox format.

Is the export complete?

Takeout includes all mails, attachments and labels. Chats and Google Drive files are separate products in Takeout and are not part of the mail export.

See also: How to search a PST file without Outlook.