Are Email Addresses Case Sensitive? What the Standard Says and What to Do

email addressesAre Email Addresses Case Sensitive? What the Standard Says and What to Do

Are email addresses case sensitive? The domain (after the @) never is. The part before the @ can be under the email standard, but mailbox providers almost always treat Jane@example.com and jane@example.com as the same person. So if you're asking "are emails case sensitive?" for your own list or app, the practical answer is no: compare addresses without regard to case.

The trouble is rarely delivery. It's on your side: duplicate contacts, failed lookups and people who end up with two accounts. This guide covers what the standard says, what providers document, and how to store and deduplicate addresses so case never causes those problems.

Short answer

  1. Domain: not case sensitive. EXAMPLE.COM and example.com are the same.
  2. Local part (before the @): the standard says it is case sensitive, but discourages relying on it.
  3. Providers: expect Jane@ and jane@ to reach the same mailbox, and test with a mailbox you own if it matters.
  4. Compare on a lowercased copy when you check for duplicates or look someone up.
  5. Keep the original as typed and send to that.
  6. Don't strip dots or plus tags to deduplicate.

What the standard says

Email delivery between servers is defined in RFC 5321. Section 2.4 covers both halves of an address, and it's short enough to quote.

On the local part:

  • "The local-part of a mailbox MUST BE treated as case sensitive."
  • "SMTP implementations MUST take care to preserve the case of mailbox local-parts."
  • "However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged."

On the domain:

  • "Mailbox domains follow normal DNS rules and are hence not case sensitive."

In plain words: are email domains case sensitive? No. The local part is case sensitive on paper, so mail servers must pass it along exactly as written. But the same section discourages relying on that, because doing so "impedes interoperability."

Address A Address B Domain Local part
Jane@Example.COM jane@example.com Same (Example.COM = example.com) Technically different (Jane vs jane)
jane@EXAMPLE.com jane@example.com Same Same
JANE.DOE@example.com jane.doe@example.com Same Technically different

For the rest of the format rules (allowed characters, length limits), see our valid email address format rules. For what each part is called, see the parts of an email address.

Does capitalization matter in practice?

For delivery, almost never. Providers are widely reported to match addresses without regard to case (see the next section for what's actually documented), and the standard discourages anyone from depending on it. Under normal provider behavior, a capital letter in an address doesn't change where the mail goes.

Where capitalization in email addresses does matter is in your own systems:

  • Duplicate contacts. Jane@example.com from one import and jane@example.com from a form become two records, and the person gets two copies of your email.
  • Failed lookups. A password reset or a "find my account" search for jane@ misses the record saved as Jane@.
  • Double logins. Someone signs up twice with different capitalization and ends up with two accounts.

All three come from comparing addresses as exact text. The fix is in how you store and compare them, covered below.

Gmail, Outlook and other providers

Is Gmail case sensitive? Are Outlook or Yahoo email addresses case sensitive? Here's what we could and couldn't find in the providers' own documentation, checked in December 2026.

Provider What the provider documents What we couldn't confirm
Gmail (personal) Google's page on dots in addresses doesn't mention capital letters. No Google page says how Gmail treats case in delivery. Third-party guides from Omnisend and MailSlurp say Gmail treats capitalization variants as one mailbox.
Google Workspace Usernames "must be lowercase", and uppercase letters typed when creating a username are converted to lowercase (Google Workspace Admin Help). This is a rule for creating usernames, not a statement about delivery.
Outlook / Microsoft 365 No official Microsoft statement found. Third-party guides say case is ignored.
Yahoo No official statement found. We found no source that confirms how Yahoo handles case.

The safe rule for every provider is the same: compare addresses without case. Mail to a capitalization variant is expected to arrive, but if your process depends on it, send a test to a mailbox you control first.

Gmail's dots are a separate question from case. On personal Gmail, first.last@gmail.com and firstlast@gmail.com reach the same inbox. On accounts managed by an organization, dots do change the address (Google Help). That difference matters for deduplication, as you'll see below.

When case can still matter

Are email addresses ever case sensitive? They can be, because the standard allows it. A few situations where you shouldn't assume otherwise:

  • An organization's own mail server can be set up to treat case as meaningful. It's rare and discouraged, but permitted.
  • Systems that store usernames exactly as typed can behave differently from the big providers.
  • Generated or service addresses that contain case-sensitive tokens. MailSlurp notes these as an exception to the usual rule.

So the rule is: ignore case when you compare, but don't rewrite the address you send to. Send to what the user typed.

Store and compare addresses

This rule set handles case without losing anything:

  1. Trim spaces before and after the address.
  2. Keep the address as typed for sending and display.
  3. Keep a normalized copy in lowercase and use it as the key for uniqueness checks and lookups.
  4. Lowercase the domain in every copy. The domain is never case sensitive, so this is always safe.

MailSlurp recommends the same pattern: store a normalized key for lookup and keep the original. It also matches the advice in our format rules guide: keep what the user typed, compare without case.

Some teams lowercase the whole address on entry instead, and Omnisend and a Marketo community post both suggest normalizing to lowercase. That's simpler, and for most addresses it works. The trade-off is the small risk from the previous section: if a server does treat case as meaningful, you've changed the address. It's a policy choice, not a rule, so pick one and apply it everywhere.

If you build the form yourself, do this where the address comes in. Our guide to real-time email validation at the point of capture covers the rest of form handling.

A note for databases. PostgreSQL has a citext type that compares text by lowercasing it. Its documentation notes that the result depends on the database's LC_CTYPE setting, that it isn't fully case-insensitive for all Unicode characters, and that it's less efficient than plain text (PostgreSQL docs). A unique index on the lowercased value is one other option. Either way, the stored address stays as typed.

Deduplicate a list

Case-only duplicates usually come from mixing sources: CSV exports from different tools, hand-typed entries, and exports that write everything in capitals. The Marketo community post above describes all-caps CSV imports creating thousands of duplicate leads.

To deduplicate emails that differ only by case:

  1. Add a column with a lowercased copy of each address (trimmed, too).
  2. Sort by that column so the variants sit next to each other.
  3. Keep one row per lowercased value. If the rows differ, keep the one with the most history, such as opens, purchases or consent records.
  4. Drop the rest, or merge their data into the row you keep.

In a CampaignKit list job, addresses that differ only in capitalization count as one and are checked once. Separately, our API docs note that duplicate emails in the same request are deduplicated and use one credit per unique address. For the full cleaning process, see how to clean your email list or email list cleaning.

What not to normalize

Lowercasing is safe for comparison. Other "normalizations" you'll see suggested are not:

  • Don't strip dots. Dots are ignored on personal Gmail, but on Google accounts managed by an organization they change the address (Google Help), and on other domains j.doe@ and jdoe@ can be different people.
  • Don't strip plus tags. jane+news@example.com is a valid address, but whether it reaches jane@ depends on the provider. Treat jane+news@ and jane@ as different entries unless you know how that provider handles them.
  • Don't merge across domains. jane@example.com and jane@example.org are different addresses, even if they belong to the same person.

Case, validity and verification

Does a capital letter make an email invalid? No. An address passes format rules the same way in any case: JANE@EXAMPLE.COM is as valid as jane@example.com.

Case also says nothing about whether the mailbox exists. A perfectly formatted, consistently lowercased address can still bounce. To find out, check it with the free email verifier (5 free checks an hour, no signup) or a bulk email verifier for a whole list. For all the ways to check, see how to check if an email is valid.

Check it works

Run three quick tests after you change how you store or compare addresses:

  • Sign up twice. Register with Test@Example.com, then try test@example.com. Your app should find the existing account rather than create a second one.
  • Import a small CSV with the same address in two cases, for example JANE@EXAMPLE.COM and jane@example.com. You should end up with one row.
  • Send to a mixed-case variant of a mailbox you own, such as YourName@yourdomain.com. The message should arrive in your normal inbox.

Troubleshooting

Duplicate contacts already exist. Add the lowercased copy to your existing records, find the values that appear more than once, and merge them. Keep the record with the most history.

A user can't log in after you started lowercasing. The stored key changed, but the login still compares what they type as exact text. Lowercase what they enter before you compare it with the lowercased key, and leave the stored original address as it was.

A server rejects a case variant. This is rare, but the standard allows it. Send to the address exactly as the person gave it, and don't rewrite stored addresses for sending.

An import arrives all in lowercase (or all in capitals). That's expected from some systems. Match it against your lowercased key and merge, rather than adding new contacts.

FAQ

Are email addresses case sensitive? The domain isn't. The part before the @ is case sensitive under the standard, but the standard discourages relying on it, and providers almost always treat case variants as the same address. Compare addresses without case.

Are emails case sensitive in Gmail? Google doesn't document how Gmail treats capital letters in delivery. Third-party guides report that Gmail treats capitalization variants as one mailbox, and Google Workspace converts usernames to lowercase when they're created.

Are email domains case sensitive? No. RFC 5321 says mailbox domains follow DNS rules and are not case sensitive, so EXAMPLE.COM and example.com are the same domain.

Does capitalization matter in an email address I send to? Almost never for delivery. Send to the address as the person typed it, and test with a mailbox you own if your process depends on a case variant.

Should I store emails lowercase? Keep the address as typed and store a lowercased copy for comparing and lookups. Lowercasing everything on entry is a valid policy choice too, with a small risk for the rare server that treats case as meaningful.

Are passwords case sensitive? Often, but that's set by each service, not by the email standard. This guide covers addresses only.

Does a capital letter make an email invalid? No. Capital letters are allowed in both parts of an address, and the format rules apply the same way in any case.

Next step: deduplicate, then verify

Consistent case gets rid of duplicates, but it doesn't tell you whether an address can receive mail. Deduplicate the list on a lowercased copy, then verify what's left. See email list cleaning for how to upload a list and what the results look like. To try a single address first, use the free email verifier, no signup needed.

Join 1,000+ CompaniesImproving Email Deliverability

Start with 200 free validations. Upgrade only when you're ready.

No credit card required • Cancel anytime