Skip to content

Separating Email Addresses

Separating email addresses (Separate Emails) means grouping email addresses in the output file (Output File) either by domain or by field value. Additionally, you can save email addresses from specified domains into separate files (Create separate files for each of these domains).

This utility has 4 operating modes:

  • Separate by domain and sort (Separate By Domain/Sort). Email addresses in the resulting file will be sorted by domain, and within the same domain they will be sorted by username. You can also enable duplicate removal (De-Dup Output Files). See the example below.
  • Separate by domain and randomize (Separate By Domain/Randomize).
    Email addresses in the resulting file will be sorted by domain, and within the same domain they will be shuffled randomly. See the example below.
  • Separate by field value (Separate By Field). This allows splitting a multi-column email list, for example by country, if one of the columns contains a country code. You need to specify the field number (starting from 1). You can also enable duplicate removal (De-Dup). If the field used for separation contains a URL, you can extract its domain (Strip Domain from URL) and split by that domain. See the example below.
  • Randomize whole file (Randomize Whole File). This function is similar to the Randomizing Lists utility.

Create a Separate File for Each Country Code

Enabling this setting creates a separate file for each top-level domain (the part of the domain to the right of the last dot). For the example, in "Separate By Domain/Sort" mode, 2 files will be created in the output directory:

com.txt:

user1@a.abac.com,RU
user1@abac.com,CA
user2@abac.com,CA
user3@abac.com,CA
user4@abac.com,CA
user1@b.abac.com,US
user1@cabac.com,US
user1@google.com,VA

net.txt:

user1@ablecom.net,IT
user2@ablecom.net,IT

Generate Random Packets of Size N

If this setting is enabled, the resulting list will be split into "packets", which will then be shuffled randomly. A packet is a group of several email addresses from the same domain. N is the maximum packet size, meaning that if the number of email addresses from one domain M is greater than N, those addresses will be split into (M + N - 1) / N packets. See the example below.

Create Separate Files for Each of These Domains

This setting allows saving email addresses ending with one of the specified strings into separate files. The remaining email addresses can optionally be saved into a "miscellaneous" file (Misc. File).

Output Directory

Files are created in this directory if the setting "Create separate files for each of these domains" is enabled, or if "Create a Separate File for Each Country Code" is enabled.

Additional Features

  • Create separate files for domains with at least N emails
  • Limit the maximum number of email addresses in created files (Max. number of emails per file)

Sample Email List

user1@abac.com,CA
user2@abac.com,CA
user3@abac.com,CA
user4@abac.com,CA
user1@cabac.com,US
user1@google.com,VA
user1@a.abac.com,RU
user1@b.abac.com,US
user1@ablecom.net,IT
user2@ablecom.net,IT

Example: Separate by Domain with Sorting

user1@a.abac.com,RU
user1@abac.com,CA
user2@abac.com,CA
user3@abac.com,CA
user4@abac.com,CA
user1@ablecom.net,IT
user2@ablecom.net,IT
user1@b.abac.com,US
user1@cabac.com,US
user1@google.com,VA

Example: Separate by Domain with Randomization

user1@a.abac.com,RU
user4@abac.com,CA
user2@abac.com,CA
user3@abac.com,CA
user1@abac.com,CA
user2@ablecom.net,IT
user1@ablecom.net,IT
user1@b.abac.com,US
user1@cabac.com,US
user1@google.com,VA

Example: Separate by Field Value

user3@abac.com,CA
user4@abac.com,CA
user1@abac.com,CA
user2@abac.com,CA
user1@ablecom.net,IT
user2@ablecom.net,IT
user1@a.abac.com,RU
user1@b.abac.com,US
user1@cabac.com,US
user1@google.com,VA

Example: Separation with Random Packets of Size 2

user1@cabac.com,US
user1@google.com,VA
user1@ablecom.net,IT
user1@b.abac.com,US
user3@abac.com,CA
user2@abac.com,CA
user1@a.abac.com,RU
user4@abac.com,CA
user1@abac.com,CA
user2@ablecom.net,IT