Canonical: https://toolipedia.app/hash-and-mac-generator

# Hash and MAC Generator

Compute SHA-3, Keccak, BLAKE2, BLAKE3, RIPEMD-160, SHA-224, SHA-512/256, SM3, MD2, MD4 and NTLM hashes of text or files, plus HMAC and AES-CMAC with a key, and compare against an expected hash.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > Hash and MAC Generator

## About Hash and MAC Generator

This page goes beyond MD5 and SHA-256: it computes SHA-224, SHA-384, SHA-512/224, SHA-512/256, SHA3-224 to SHA3-512, the original Keccak-224 to 512, BLAKE2b, BLAKE2s, BLAKE3, RIPEMD-160, SM3, MD2, MD4 and the Windows NTLM hash for text, hex bytes or a file. Give a key to get HMAC for the SHA, SHA-3, Keccak, RIPEMD and SM3 families, keyed BLAKE2 and AES-CMAC. Paste an expected hash and the page tells you which algorithm produces it. Whirlpool, Tiger and the LM hash are not included.

## How to use Hash and MAC Generator
1. Choose text, hex bytes or a file, then enter the data; files never leave your device.
2. Pick one algorithm or all of them, and add a key if you want a MAC such as HMAC-SHA-256 or AES-CMAC.
3. Read the table of digests, paste an expected hash to compare, and copy the result.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- hash and mac generator
- sha-3 hash generator
- blake2 blake3 hash online
- hmac generator
- aes-cmac online
- ripemd-160 hash
- keccak-256 online

## Frequently asked questions

### Which algorithm should I use for new work?

SHA-256, SHA-3 or BLAKE2 and BLAKE3 for integrity checks. MD2, MD4 and NTLM are broken for security and are listed only for compatibility with old systems and test vectors.

### What is the difference between a hash and a MAC?

A hash only fingerprints data. A MAC such as HMAC or AES-CMAC mixes in a secret key, so only someone with the key can create or verify the tag.

### Why does Keccak-256 differ from SHA3-256?

They use the same permutation but different padding bytes, so the digests differ for every input. Ethereum uses the original Keccak-256, while the NIST standard is SHA3-256.

### Is Hash and MAC Generator free?

Yes. Hash and MAC Generator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Hash and MAC Generator:
- [Hash generator](https://toolipedia.app/hash-generator)
- [HMAC generator](https://toolipedia.app/hmac-generator)
- [Bcrypt hash generator](https://toolipedia.app/bcrypt-generator)
- [Hash and ID Collision Probability Calculator](https://toolipedia.app/hash-and-id-collision-probability-calculator)
- [Bloom Filter Calculator](https://toolipedia.app/bloom-filter-calculator)
