Hashed Email Identifiers
A hashed email identifier is a scrambled version of an email address, created by running the address through a mathematical function that turns it into a fixed-length string of characters. This process is designed to be one-way, so the code cannot be straightforwardly reversed back into the original email address. Marketers and advertising platforms often use these codes to recognise and match users across different services without directly sharing the plain email address.
A hashed email identifier is a cryptographic representation of an email address produced by applying a one-way hashing algorithm (commonly MD5, SHA-1, or SHA-256, yielding 32-, 40-, or 64-character outputs respectively) to the address. The hash acts as a pseudonymous identifier used for cross-context matching, audience linkage, and identity resolution in advertising and marketing contexts. It is important to note that hashing is not anonymisation: because a hash is deterministic and the input space of email addresses is enumerable, a hashed email can typically be re-identified or matched back to an individual, and in most EU and UK analyses it is therefore generally treated as personal data under the GDPR and as an online identifier that may trigger consent obligations under the ePrivacy Directive when stored on or read from a user's device. The specific legal treatment depends on facts and jurisdiction and is not resolved by the evidence here; whether processing hashed emails requires consent, and under which regime, should be assessed case by case.
Why it matters
Hashed email identifiers sit at the centre of a common misconception in digital marketing: that scrambling an email address through a hashing function removes it from the scope of data protection law. In most EU and UK analyses this is not the case. Because hashing is deterministic and the universe of possible email addresses is finite and enumerable, a hashed email can typically be matched back to an individual or re-identified. It is therefore generally treated as personal data under the GDPR rather than as anonymised data, and it may qualify as an online identifier that triggers obligations under the ePrivacy Directive when the value is stored on or read from a user's device. Treating a HEM as if it were anonymous can lead organisations to skip consent steps, transparency notices, and record-keeping that they may in fact be required to provide.
Who it's relevant to
Inside HEM
Common questions
Answers to the questions practitioners most commonly ask about HEM.