Filter Gmail email messages by size - gHacks Tech News

Filter Gmail email messages by size

If you need to find large attachments on Gmail quickly, you have a few options at your disposal. You can for instance use the Find Big Email service which automatically goes through all of your emails to sort them by size into groups. The program labels the emails accordingly so that you can quickly display all emails with attachments that are over a certain size.

While that is certainly handy, it means that you have to authorize the service for the operation, something that not all Gmail users may want to do considering that emails often contain important data that no one else should have access to.

Back then I explained how you can use a third party email program like Thunderbird to sort emails by size automatically, which is really helpful in this regard. While you need to install and configure the program first, you can display the sizes manually and without third party help.

Gmail's size parameter

gmail sort by size

There is however another option that you can use on Gmail's website directly. The undocumented parameter size: enables you to display emails that are larger than the specified size.

Use that together with a keyword, e.g. work, the name of a contact or an email address, and you have a filtering system that is easy to use and at the same time very efficient.

The size needs to be entered in bytes, a few examples are size:1000000 for files larger than 1 Megabyte, size:100000 for files larger than 100 Kilobyte or size:10000000 for attachments larger than 10 Megabyte.

It is technically not fully correct, as one Megabyte is 1048576 Bytes but that would make things more complicated as they should be. Just add keywords, email addresses or names to the search phrase to find the emails that you are looking for.

You may use M to specify Megabytes instead of Bytes. The search term size: 1M would return all emails that have a size of 1 Megabyte or larger.

If you just want a list of the largest emails, use it without added search terms.

Gmail supports operators to define ranges. The queries larger_than and smaller_than can be used in that regard. To display all emails between 1 Megabyte and 10 Megabyte, you'd use larger_than:1M smaller_than:10M.

Overview of size parameters and options on Gmail

  • size:xyz -- returns emails that match the selected size in bytes or are larger, e.g. size: 1000000
  • size:xyzM -- returns emails that match the selected size in Megabytes or are larger, e.g. size: 4M
  • larger_than: xyz -- returns emails that are larger than the selected size in bytes, e.g. larger_than: 1000000
  • larger_than: xyzM -- returns emails that are larger than the selected size in Megabytes, e.g. larger_than: 1M
  • smaller_than: xyz -- returns emails that are smaller than the selected size in bytes, e.g. smaller_than: 1000000
  • smaller_than: xyzM -- returns emails that are smaller than the selected size in Megabytes, e.g. smaller_than: 1M

The size parameter can be really useful for a number of things, for instance to delete large emails to free up space, or to locate a specific email that you know had a large attachment attached to it.

Summary
Filter Gmail email messages by size
Article Name
Filter Gmail email messages by size
Description
Need to find large emails on Gmail quickly? Use the undocumented size: parameter to find large emails quickly using the Gmail web interface.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. leon said on November 9, 2012 at 2:12 pm
    Reply

    you need to clean your email once in a while
    32,596 emails = too much :p

    1. Martin Brinkmann said on November 9, 2012 at 2:35 pm
      Reply

      A day’s work, I’m getting to it ;)

  2. Nick Ioannou said on November 10, 2012 at 1:19 am
    Reply

    Thanks, this has answered one of my wish list entries at http://nick-ioannou.blogspot.co.uk/p/wishlist.html that I can now tick off. Great work

  3. trototype said on January 15, 2015 at 7:14 pm
    Reply

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.