Sorting a pasted list
Paste the addresses
Any separator works. A mailto: prefix, angle brackets, brackets and quotes are stripped, so you can paste straight from a mail header or a web page.
Choose the sort
Sort by domain orders addresses by everything after the @, then by the full address. Sort A to Z uses the whole address.
Decide whether to group
With Group by domain ticked, the output shows a heading line for each domain, such as
# harbourbakes.example (2), followed by its addresses. Groups with the most addresses come first.Copy or download
The text output can be copied or saved as a .txt file. The CSV download always has two columns, email and domain, one row per unique address.
Example: three lists pasted together
A joinery supplier (fictional) combined addresses from a trade show sign-up sheet, an old spreadsheet and a few copied from websites. One address appeared twice with different capitals, one entry was not an address at all and one had a mailto: prefix.
The sorter kept six unique addresses across four domains, counted one duplicate and one invalid entry, and grouped the two companies with two contacts each at the top.
[email protected], [email protected]; [email protected] [email protected] [email protected] [email protected], not-an-email, mailto:[email protected]
Unique emails: 6 Domains: 4 Duplicates removed: 1 Not valid: 1 # harbourbakes.example (2) [email protected] [email protected] # oakline-joinery.example (2) [email protected] [email protected] # gmail.com (1) [email protected] # peakdental.example (1) [email protected]
Why group by domain
In B2B prospecting the domain is the company. Grouping shows at a glance where you hold several contacts at one business, which matters for two reasons: you do not want three people at the same small firm receiving the same cold email on the same morning, and when one of them replies or asks you to stop, the others at that company usually need to be paused too.
Grouping uses the registrable domain, so sales.northgate.co.uk and northgate.co.uk fall into the same group, and common UK endings such as .co.uk and .org.uk are handled correctly. Free mail domains such as gmail.com form their own group, which makes it easy to see how much of a list is personal mailboxes rather than company addresses.
Terms used in the results
- Duplicate
- An address that appears more than once after lowercasing. Email domains are not case sensitive and in practice mailbox names almost never are, so Sam@ and sam@ are treated as the same.
- Not valid
- An entry that does not match the shape of an email address, such as a name, a phone number or text with two @ signs. Only the format is checked, not whether the mailbox exists.
- Registrable domain
- The part of a domain a business actually registers, such as northgate.co.uk, ignoring subdomains like mail. or sales. in front of it.
Questions people ask
How do I sort email addresses by domain?
Put the addresses in the box, pick the domain ordering from the Sort control and leave the grouping option on. You get one heading per company, with a count, and that company's addresses underneath. The CSV download repeats every address with its domain in a separate column, ready to filter again in Excel or Google Sheets.
Does the sorter remove duplicates?
Yes. Every address is lowercased and trimmed before comparison, so the same address typed with different capitals or with a mailto: prefix counts once. The number removed is shown in the results. Different addresses at the same company are kept, since they are different people or inboxes.
Does it check whether the addresses are real?
No. It only checks that each entry is shaped like an email address. A correctly formatted address can still bounce because the mailbox does not exist or the domain has no mail server. Use an email verifier before sending, and the email list cleaner if you also want to separate role, free and disposable addresses.
What separators can I use?
Commas, semicolons, spaces, tabs and line breaks, in any mix. That covers lists copied from Outlook's To field, spreadsheet columns, CSV text and plain notes. If an address is wrapped in a display name, such as Jo Hart <[email protected]>, the brackets are removed but the name words are counted as invalid entries.
Where your data goes
Sorting, grouping and the downloads are all produced on your own device. The addresses you paste are not transmitted or recorded anywhere by this page.
Checked against the tool on