SHA-256 Email Hash Generator With Each Ad Platform’s Rules
Paste email addresses or phone numbers, or open a CSV, and get SHA-256 hashes for Google Ads, Meta, LinkedIn or Microsoft Advertising, normalized the way each platform documents it and shown step by step. Free, in your browser, nothing uploaded.
Your List
The hash generator needs JavaScript.
One Address, Three Different Hashes
SHA-256 turns a text into 64 hex characters, always the same for the same text. Change one capital letter or add one space and the hash is completely different. Google and Meta say they match your list by comparing its hashes with the hashes of their own users’ addresses, so your text has to be exactly the text they hash.
The platforms do not agree on that text. Google removes the periods in Gmail addresses, Microsoft removes periods and plus suffixes at every domain, Meta and LinkedIn keep both. The tool applies the rules of the platform you pick and shows every step, so you can see which step makes two hashes differ.
" John.Doe+news@GMAIL.com "
Google johndoe+news@gmail.com 61fbbb1b…
Meta john.doe+news@gmail.com 0bce3ed0…
LinkedIn john.doe+news@gmail.com 0bce3ed0…
Microsoft johndoe@gmail.com 06a240d1…
As typed any SHA-256 tool 8db0dc56…Try a Real Case
Each loads a list the way it comes out of a CRM or a spreadsheet.
- Example
One Address, Four Platforms
The same address with spaces, capitals, periods and a plus suffix. The four platforms’ documented rules give three different hashes, and a plain SHA-256 tool gives a fourth.
- 4platforms
- 3different hashes
- 0bytes uploaded
- Meta
Meta’s Own Example
Meta’s documentation turns (650)555-1212 into 16505551212 and gives its hash. With country code 1 the tool gets the same.
- Gmail
Periods and Plus Suffixes
Gmail addresses with Google’s API rules: periods and plus suffixes go at gmail.com and googlemail.com only.
- Microsoft
Every Domain, Not Only Gmail
Microsoft’s help page removes periods, plus suffixes and accents at every domain.
- Mixed
Half the List Already Hashed
Hashes pass through, never hashed twice; a typo and an empty row are listed.
Why Two Tools Give Two Hashes
What each platform’s own documentation says to do before hashing an email address, read on 25 November 2026.
| Platform | Spaces | Case | Periods before the @ | Plus suffix | Accents, other scripts | Phone numbers | Column name |
|---|---|---|---|---|---|---|---|
| Google Ads | Removed, inside too | Lower | Removed at gmail.com and googlemail.com | Help page: not mentioned. API pages: removed at gmail.com and googlemail.com | Help page: addresses with accents are not matched; other scripts not mentioned | E.164, + in front | Email, Phone |
| Meta | At the ends | Lower | Kept (no rule) | Kept (no rule) | Only first and last names take special characters and non-Roman alphabets | Digits with country code, no +, leading zeros removed | email, phone |
| All removed | Lower | Kept (no rule) | Kept (no rule) | Not mentioned | No phone column | ||
| Microsoft Advertising | All removed | Lower | Removed at every domain | Removed at every domain | Accents removed; other scripts not mentioned | Email only |
Microsoft’s page lists “Remove any accents” among the steps for the whole email address, so the tool applies it to the domain too: müller.de becomes muller.de, which is another domain, and the row says so. An internationalised domain written in Unicode (müller.de) and in its xn-- form (xn--mller-kva.de) hashes differently, and no platform’s page says which form it uses. Google’s Customer Match help page names only the periods; the Google Ads API and Data Manager API pages also remove the plus suffix at gmail.com and googlemail.com, and the Google Ads API page adds that these rules, written for enhanced conversions, differ from how Google handles address variations for Customer Match internally. The tool follows the help page and offers the plus suffix as a switch.
On 25 November 2026, LinkedIn’s DMP Segment List Uploads page gave FA922CB4… as the hash of abc@example.com. The SHA-256 of those 15 characters, computed here three ways (Python, Node and this page’s Web Crypto), is 9eceb13483d7f187ec014fd6d4854d1420cfc634328af85f51d0323ba8622e21. LinkedIn’s help article Troubleshoot LinkedIn Matched Audiences gives three examples that this tool reproduces: foo@bar.com gives 0c7e6a40…, sample@email.com gives 7b1b346f… and bar@foo.com gives e0ee9d02…. Check any hasher against those.
Sources: Google Ads Help, Create a Customer Match list by uploading a data file and Fix Customer Match issues; Google Ads API, Customer Match: get started; Data Manager API, Format user data; Meta, Customer File Custom Audiences and Customer list formatting guidelines; LinkedIn, DMP Segment List Uploads; Microsoft Advertising, Customer match: Use your own data to find customers.
Do You Need to Hash It Yourself?
Not always. Google Ads takes a plain-text file and says it formats and hashes the private fields on your computer before they are sent. LinkedIn’s Campaign Manager hashes an email list in your browser, and also takes SHA-256 hex. Microsoft Advertising lets you choose a plain-text or a hashed file. Meta’s help page says some customer information in a list is hashed before it is sent to Meta.
Hash it yourself when the list goes through an API (Google’s APIs and Meta’s Marketing API take hashes only), when someone else uploads it and should not see the addresses, or when you want to know which hash a platform will compute before you upload.
- A hash cannot be turned back into the address by calculation; Meta calls the process one that cannot be reversed
- It is not anonymous: anyone who has the address can compute the same hash, which is how the platforms match
- Whether a hashed list counts as personal data for you is a legal question this page does not answer
Google Ads file upload plain text or hashed
Google APIs hashed only
Meta Marketing API hashed only
LinkedIn Campaign Manager plain text or hashed
Microsoft Advertising plain text or hashedHash a List in Four Steps
From a CRM export to a file the platform takes.
- 1
Paste or Open
Paste a column of addresses or numbers, or open a CSV and pick its column.
- 2
Pick the Platform
Google Ads, Meta, LinkedIn or Microsoft Advertising; for phone numbers, the country code.
- 3
Check the Steps
See what each step changed and which rows were not hashed, and why.
- 4
Copy or Download
Copy the hash column beside your list, or download the CSV with the platform’s column name.
What It Checks, Read Locally
The rules behind each row, and where the tool stops.
- 50MB per file, read in your browser
- 4Ad platforms’ rules
- 0Bytes uploaded
- What counts as an address. One @, a name of the characters RFC 5322 allows or, under RFC 6531, characters outside ASCII, a domain with a period, and the length limits of RFC 5321. Syntax only: no address is looked up. A value that fails is listed with the reason and not hashed. A name before the address in angle brackets (Anna Berg <anna@example.com>, as Outlook and Gmail copy it) is removed and the step shown; two addresses in one row are listed, never split. Columns pasted from a spreadsheet arrive separated by tabs: the one cell that holds an address is used, otherwise the row is listed. A word that is itself an address is never joined to others; other spaces inside an address are removed where the platform’s page says so, and the row is flagged. Full-width characters (@, ., a) are read as plain ones, and the row is flagged.
- Already hashed. A value of 64 hex characters passes through in lower case and is never hashed again. 32 or 40 hex characters (MD5, SHA-1) are listed: the platforms take SHA-256 only.
- Repeats and empty rows. Both are counted. The copied column keeps one line per row, so it pastes back beside your list; the download can leave repeats out.
- Phone numbers. A number with + or 00 in front has its country code, and a (0) right after it, as in +49 (0)30, is removed. After +39 and +378 it is kept as a 0 and the row flagged: Italian and San Marino numbers keep their 0 after the country code (as Wikipedia’s encyclopaedia articles Telephone numbers in Italy and Telephone numbers in San Marino describe it, read on 25 November 2026; the countries’ own numbering plans were not read). Any other number gets the code you enter, never a guessed one; only a single leading 0 is known as a national prefix, dropped or kept as you choose, and removed for Meta, whose page says so, except after 39 and 378, where it is kept and the row flagged. With country code 1, an 11-digit number that starts with 1 is read as already carrying it (the tool’s own rule for North American numbers); any other number that starts with the digits of its country code is listed, because the tool cannot tell whether the code is already there. Letters and extensions are listed. Numbers of more than 15 digits are hashed and flagged.
- Not covered. Names, postcodes and countries, which Google and Meta also take with rules of their own; TikTok, Snap and other platforms; MD5 and SHA-1.
- Lists from Salesforce. Export the prospects from Account Engagement (Pardot) or a report from Salesforce, open the CSV here and pick the email column. For the setup behind those lists, see our Pardot consulting.
Email Hash FAQ
Short answers to what people ask about hashing customer lists.
Which hash do ad platforms need for email lists?
SHA-256, written as 64 hex characters in lower case. Google, Meta, LinkedIn and Microsoft Advertising all name SHA-256, and Meta says it supports no other hashing method.
Do I need to lowercase and trim before hashing?
Yes. All four platforms ask for lower case and for the spaces at the ends to go. One capital letter or one space gives a different hash that matches no one, and Google says a wrongly formatted file may still upload but will not match.
Should I remove the periods in Gmail addresses?
For Google, yes: its help page says to remove the periods before the @ in gmail.com and googlemail.com addresses. Microsoft removes the periods before the @ at every domain. Meta and LinkedIn name no such rule, so the periods stay.
Why does my hashed list not match?
When the hashed text differs from the text the platform hashes, nothing matches: a space, a capital letter, a Gmail rule or a phone number without its country code is enough. Google traces small Customer Match lists to file formatting or incorrect hashing. Load a few rows above and compare the steps, or the table of one row on every platform, with the tool you used.
What phone format do I hash?
E.164: the country code and the number, digits only. Google wants the + in front for hashed data; Meta’s examples have no + (16505551212). LinkedIn and Microsoft Advertising take no phone numbers in these lists.
Is it safe to paste customer emails into an online hasher?
Only when it hashes in your browser. This one reads and hashes everything on your device: nothing is sent, stored or written to analytics, which you can check in your browser’s network panel. A tool that uploads the list sends the plain addresses to someone else’s server.
Is a hashed email address anonymous?
No. Anyone who has the address can compute the same hash, which is how the platforms match your list. The hash hides the address in the file, but it still stands for one person. Whether that matters under the GDPR for your list is a legal question this page does not answer.
More Free Tools
We Make Salesforce Marketing Work for You
Talk to a certified consultant, not a salesperson, and leave the first call knowing your next step.