Home › Free tools › Hash generator
Free developer tool · Text and files

Hash generator – MD5, SHA-1, SHA-256 and SHA-512

Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file, compare a file against a published checksum, and make HMAC signatures. Everything is calculated in your browser.

MD5, SHA-1, SHA-2 familyFile checksums + compareHMAC and Base64 output

Click a hash to copy it.

What is a hash?

A hash function turns any input – a word, a document or a 4 GB file – into a short, fixed-length fingerprint. The same input always gives the same hash, and even a one-letter change gives a completely different result. Hashes are used to check downloads, detect changes, sign API requests and store data fingerprints.

Which algorithm should I use?

AlgorithmLengthUse it for
MD5128-bit (32 hex)Quick checksums and cache keys only – not secure
SHA-1160-bit (40 hex)Legacy systems and Git object IDs – not secure for signatures
SHA-256256-bit (64 hex)The standard choice: file checksums, API signatures, blockchains
SHA-384 / SHA-512384 / 512-bitExtra security margin, often faster on 64-bit machines

How to verify a downloaded file

  • Copy the SHA-256 checksum from the official download page.
  • Open the File tab and choose the downloaded file.
  • Paste the checksum into “Compare with a known hash”. A green match means the file is exactly the one published.

Do not use plain hashes for passwords

Fast hashes like MD5 and SHA-256 can be guessed billions of times per second. Store passwords with a slow, salted algorithm such as Argon2id, bcrypt or scrypt instead.

Frequently asked questions

How do I generate an MD5 or SHA-256 hash?

Type or paste your text, or choose a file. All hashes – MD5, SHA-1, SHA-256, SHA-384 and SHA-512 – are calculated instantly. Click one to copy it.

Can I hash a file?

Yes. Open the File tab and choose any file. It is read in your browser and never uploaded.

What is HMAC?

HMAC combines a secret key with a hash to create a signature that proves a message came from someone who knows the key. Many APIs, such as webhooks, use HMAC-SHA256.

Can a hash be reversed?

No. Hash functions are one-way. Weak hashes of short or common inputs can be guessed, which is why they must not be used for passwords.

Is MD5 still safe?

MD5 is fine for spotting accidental changes, but it is broken for security. Use SHA-256 or stronger for anything security-related.

Need a website or app built?

We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.

Techpass Master Technologies · Websites, Android apps and digital marketing

WhatsApp us📞 Call now