Skip to content

Hash Generator (MD5, SHA-256)

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files, HMAC-SHA256 with a secret key, and verify a checksum.

About Hash Generator (MD5, SHA-256)

This hash generator creates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file. Type text or drop a file to hash its exact bytes, and all the hashes appear together, ready to copy. Add a secret key to get an HMAC-SHA256 signature for webhooks and APIs.

Paste an expected checksum into the verify box to confirm a downloaded file has not been changed or corrupted. It is useful for developers, system administrators and anyone checking software downloads. Files are hashed in your browser and never uploaded. The tool is free and needs no sign-up.

How to use Hash Generator (MD5, SHA-256)

  1. Choose Text or File.
  2. Type text, or drop a file to hash its exact bytes.
  3. Optionally enter a secret key to get an HMAC-SHA256 signature.
  4. Paste an expected hash in Verify to check it matches.

Frequently asked questions

Which hash should I use?

Use SHA-256 or stronger for anything security-related. MD5 and SHA-1 are broken for security but are still fine for detecting accidental file corruption.

Can a hash be reversed to get the text back?

No. Hashes are one-way. Short or common inputs can be guessed with lookup tables, which is why passwords should be hashed with a slow algorithm and a salt.

How do I verify a downloaded file?

Open the File tab, drop the file, and paste the checksum published by the vendor into Verify. A green row means the file is intact.

Is text hashed as UTF-8?

Yes. Text is converted to UTF-8 bytes first, matching what command-line tools such as sha256sum produce for the same text (without a trailing newline).

How do I generate a SHA-256 hash online?

Type or paste your text, or drop a file, and copy the SHA-256 value from the results.

What is an MD5 hash?

MD5 is a 128-bit fingerprint of data, shown as 32 hex characters. It is fine for checksums but should not be used for passwords or security.

What is HMAC?

HMAC combines a hash with a secret key, so only someone with the key can create or check the signature.

People also search for

hash generator online · hash generator online sha256 · hash generator · hash generator online free · hash generator sha256 · hash generator md5 · hash generator sha512 · sha256 online · sha1 online · md5 hash · md5 online generator · sha256 online generator

Related tools