Mr. Encoder

Hash Generator (MD5, SHA-256, SHA-512)

Calculate MD5, SHA-1, SHA-2, SHA3-256 and HMAC hashes of text or files, all at once.

How to use

  1. Type or paste text in the Text tab, or choose a file in the File tab.
  2. Optionally switch on HMAC mode and enter a secret key, and pick lowercase or uppercase hex.
  3. All hashes (MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256) appear instantly; copy the one you need.

Frequently asked questions

What is a hash function?

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and even a one-character change produces a completely different value, which makes hashes useful for checksums and integrity checks.

Is MD5 or SHA-1 still safe to use?

No, not for security. Practical collision attacks exist for both, so use SHA-256 or stronger for signatures and integrity protection. MD5 and SHA-1 are still fine for non-security checksums such as detecting accidental file corruption.

What is HMAC and when should I use it?

HMAC combines a hash function with a secret key to produce a message authentication code. It proves that a message was created by someone who knows the key and was not modified, and is widely used to sign API requests and webhooks (e.g. HMAC-SHA256).

Can I hash passwords with this tool?

You can compute the hash, but plain MD5 or SHA hashes are not suitable for storing passwords because they are fast to brute-force. Use a slow, salted algorithm such as Argon2, bcrypt or scrypt for password storage.

Other tools