Free tool

Conversions API Hash Generator: Hash Customer Data for Meta and Build fbc

Enter customer data and the tool normalizes it per the Meta Conversions API rules and hashes it with SHA-256. You can also build the fbc value from an fbclid. Use it to check your event payloads before you send them to Meta.

Everything happens in your browser. Inputs are hashed locally with the Web Crypto API and never sent to us or to any server.

Hash customer data

Trim spaces, lowercase everything: John_Smith@gmail.com becomes john_smith@gmail.com.

Digits only, no symbols or leading zeros, with country code: +49 171 1234567 becomes 491711234567.

Prepended to a phone number that does not start with + or 00. For Germany: 49.

Lowercase, no punctuation. Special characters stay as UTF-8.

Lowercase, no punctuation. Special characters stay as UTF-8.

Format YYYYMMDD. Enter 1997-02-16, 16.02.1997 or 19970216.

One lowercase letter: f or m. Enter e.g. female, f or male.

Lowercase, no punctuation, special characters or spaces: New York becomes newyork.

US: lowercase 2-letter code (ca). Elsewhere lowercase without punctuation or spaces.

Lowercase, no spaces or dashes. US codes: first 5 digits only.

Lowercase ISO 3166-1 alpha-2 code: DE becomes de. Send it even if all your data is from one country.

Your own unique ID, e.g. customer or CRM ID. Meta recommends hashing it; it is only trimmed.

SHA-256

Fill in at least one field and the hashes appear here.

Do not hash: client_ip_address, client_user_agent, fbc and fbp. Send these in plain text.

Build fbc from fbclid

The value is used as is, case is preserved. You can also paste the full landing page URL.

When you first saw the fbclid. Without a saved _fbc cookie, use the time you first received it.

0 = com, 1 = example.com, 2 = www.example.com. Without a saved cookie on the server, use 1.

Your fbc value

Paste an fbclid and the fbc value appears here.

Why Meta needs hashed customer data

With the Conversions API you send events from your server straight to Meta. To match an event to a person, Meta needs customer data such as email or phone number. Meta requires it hashed so no plain text data is transferred.

Why normalization matters

A hash only helps if it matches the one Meta computes itself. A single uppercase letter or space produces a completely different SHA-256 value and matching fails. That is why the tool follows the rules from the Meta documentation step by step.

What is the fbc parameter?

When someone clicks a Meta ad, Meta appends the fbclid to the URL. The Meta Pixel stores it as the _fbc cookie in the format fb.1.creationTime.fbclid. If you send events from the server without that cookie, you build the value yourself, as this tool does.

Frequently asked questions

No. Normalization and SHA-256 run entirely in your browser via the Web Crypto API. No request contains your inputs.

Related terms

All terms