Tools SHA-256 workbench

Free tool · no signup

SHA-256 workbench

Paste one value per line. Existing hashes are validated for format, plaintext is normalised the way Meta and Google expect and hashed on the spot — the whole list at once.

  • Web Crypto, in your tab
  • Meta and Google normalisation
  • Nothing uploaded

Values

One value per line. 64-character hex is treated as an existing hash and only validated.

Meta's own test vectors are below — check the output against them.

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.

FieldRuleExample
emTrim, lowercase[email protected] → [email protected]
phDigits only, country code kept, no leading zeros+1 (650) 555-1212 → 16505551212
fn / lnLowercase, letters onlyMary Jane → maryjane
ctLowercase, no spaces or punctuationNew York → newyork
stTwo-letter code, lowercaseAZ → az
zpLowercase, no spaces or dashes, US: first five digits94035-1234 → 94035
countryISO 3166-1 alpha-2, lowercaseUnited States → us
dbYYYYMMDD2/16/1997 → 19970216
geSingle lowercase initialFemale → 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.

InputExpected SHA-256
[email protected]62a14e44f765419d10fea99367361a727c12365e2520f32218d505ed9aa0f62f
16505551212e323ec626319ca94ee8bff2e4c87cf613be6ea19919ed1364124e16807ab3176
mary6915771be1c5aa0c886870b6951b03d7eafc121fea0e80a5ea83beb7c449f4ec
us79adb2a2fce5c6ba215fe5f27f532d4e7edbac4b6a5e09e1ef3a08084a904621

The three failures a format check cannot see

  1. Correct hash, wrong input. A lowercase email and an uppercased one both produce valid SHA-256. Only one matches.
  2. Hash of a hash. A pipeline that hashes on ingest and again on upload doubles the transformation. Format is perfect, match rate is zero.
  3. Mismatched field. Putting a phone number in em produces 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

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.

Want the normalisation table as a reference?

Every field rule, the exact expected output, and the four test vectors — one page for whoever writes the pipeline.

One email with the file, then nothing unless you reply. Your address is not added to a list.

🔒 Secure checkout
Loading secure checkout…
Payments by Stripe · Cards, Apple Pay, Google Pay