What "normalised" means, per field
Hashing is the easy half. The value that goes into the hash is where match quality is won or lost, and the rules differ per field. These are the ones Meta publishes, and Google's Customer Match follows the same shape for email and phone.
| Field | Rule | Example |
|---|---|---|
em | Trim, lowercase | [email protected] → [email protected] |
ph | Digits only, country code kept, no leading zeros | +1 (650) 555-1212 → 16505551212 |
fn / ln | Lowercase, letters only | Mary Jane → maryjane |
ct | Lowercase, no spaces or punctuation | New York → newyork |
st | Two-letter code, lowercase | AZ → az |
zp | Lowercase, no spaces or dashes, US: first five digits | 94035-1234 → 94035 |
country | ISO 3166-1 alpha-2, lowercase | United States → us |
db | YYYYMMDD | 2/16/1997 → 19970216 |
ge | Single lowercase initial | Female → f |
Check it against the publisher's own vectors
A hash is either right or it is a valid-looking 64 characters that matches nobody, and nothing in the dashboard tells you which. So verify the machine, not the output. These four values are published by Meta; paste one into the tool with the matching field selected and you should get exactly the digest on the right.
| Input | Expected SHA-256 |
|---|---|
[email protected] | 62a14e44f765419d10fea99367361a727c12365e2520f32218d505ed9aa0f62f |
16505551212 | e323ec626319ca94ee8bff2e4c87cf613be6ea19919ed1364124e16807ab3176 |
mary | 6915771be1c5aa0c886870b6951b03d7eafc121fea0e80a5ea83beb7c449f4ec |
us | 79adb2a2fce5c6ba215fe5f27f532d4e7edbac4b6a5e09e1ef3a08084a904621 |
The three failures a format check cannot see
- Correct hash, wrong input. A lowercase email and an uppercased one both produce valid SHA-256. Only one matches.
- Hash of a hash. A pipeline that hashes on ingest and again on upload doubles the transformation. Format is perfect, match rate is zero.
- Mismatched field. Putting a phone number in
emproduces a valid hash that Meta will compare against email addresses forever.
All three are invisible in Events Manager, which is why the match quality score drifts down over weeks and nobody can say when it started. The CAPI payload check catches the same problem on the request body before it ships.
Related tools
- CAPI payload check — the same rules applied to a whole event.
- Double-count finder — the other half of a matching problem.
- Ecommerce tracking checklist — where hashing sits in a rebuild.
Questions this raises
Can a hash be reversed?
No, not in any way that matters. SHA-256 is one-way, so the only test is whether a candidate input produces the same digest. That is why a bad normalisation is unrecoverable: the hash is valid, it just matches nobody.
Why does my hash not match Meta's example?
Because the value was hashed before normalisation. Meta lowercases emails, strips punctuation from phone numbers, lowercases and de-spaces cities and countries, and expects ZIP codes without spaces or dashes. Hashing `[email protected]` and hashing `[email protected]` produce two different digests from the same person.
Is this the same as the hashing in my ETL?
Only if that pipeline normalises first. Many do not. Compare one known customer: take their email, run it through this tool, and compare with the row your upload produced. A mismatch means the pipeline skips normalisation.
Is it safe to paste customer emails here?
The hashing runs in this browser tab with the Web Crypto API. Nothing is posted anywhere — no endpoint, no fetch, no analytics on the value. If you want zero exposure, paste hashes and use the page only to validate their format.