# Hashed Email

> An email turned into a fixed code. It lets two firms match lists without swapping them.

**Field:** Marketing & SEO  
**Category:** MarTech, Data & AI  
**Also known as:** Email Hash, HEM, SHA-256 Email

## Think of it like

It is like a thumbprint of an email. It can match the email, but you cannot read it back.

## Definition

A hashed email is an email address turned into a long fixed code by a hash function, most often SHA-256. The same address always gives the same code. So two companies can hash their lists and match the codes without swapping the real addresses. Both sides must clean the address the same way first, by trimming spaces and making it lowercase. A hash still points to one person, so privacy laws still treat it as personal data.

## Example

A shop uploads the hashed emails of its buyers to an ad platform. The platform hashes its own users' emails and shows ads to the matches.

## Example code

```console
$ printf '%s' 'emma@example.com' | sha256sum
953babc40f0f41d2961fc323cef72189631ccf4737f2ce8b2147b6aa3026933f  -
$ printf '%s' 'Emma@Example.com' | sha256sum
7d2b114cf685eaa5d32119627eaa5f988d9a5d5b6ce74b5d75ec1d9080aed81b  -
```

Two capital letters give a whole new code. That is why both sides make the email lowercase first.

## Why it matters

It is how most customer lists reach ad platforms and clean rooms today.

## Common mistake

Calling a hashed email anonymous. Anyone with the same address can make the same code and find the person.

## Three principles

- **Same in, same out.** One address always makes one code.
- **Clean it first.** Trim and lowercase before you hash.
- **Not anonymous.** It still points to one person.

## Related terms

- [Identity Resolution](https://learn.benibix.com/term/marketing/identity-resolution)
- [Data Clean Room](https://learn.benibix.com/term/marketing/data-clean-room)
- [Conversions API](https://learn.benibix.com/term/marketing/conversions-api)
- [Pseudonymization](https://learn.benibix.com/term/data/pseudonymization)
- [Data Anonymization](https://learn.benibix.com/term/data/data-anonymization)
- [Hashing (Cryptography)](https://learn.benibix.com/term/development/hashing)

## Told apart from

- [Hashed Email vs Anonymized Data](https://learn.benibix.com/compare/hashed-email-vs-data-anonymization): People think a hashed email is anonymous, and it is not. Hashing turns an email into a fixed code, but the same email always gives the same code. Anyone who has the email can hash it and find the match. So the law still treats it as personal data. Anonymous data is data that can no longer be linked back to a person at all.

![Two companies on either side, each sending a list of hashed codes into a locked box in the middle. The box matches the codes. Only one number comes out of it: how many people the two lists share.](https://learn.benibix.com/diagrams/martech-clean-room.svg)

---

Source: https://learn.benibix.com/term/marketing/hashed-email
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
