Skip to content

Free tool

Hash Generator

SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files, computed locally with the Web Crypto API.

Runs entirely in your browser. Nothing you enter is sent to a server.

Or a file

Drop a file here, or press Enter to choose oneUp to 200 MB. Hashed on your device.

How it works

A cryptographic hash turns any input into a fixed-length fingerprint. The same input always gives the same hash, and changing even one character changes it completely. It cannot be reversed to recover the input.

Text is encoded as UTF-8 and hashed with crypto.subtle.digest. Files are read as bytes and hashed the same way. Results are shown in hexadecimal. Web Crypto only works on secure origins (HTTPS or localhost).

Security note: MD5 and SHA-1 are not suitable for security purposes, and none of these plain hashes are suitable for storing passwords.

Common uses

  • Verifying that a downloaded file matches the publisher’s checksum.
  • Checking whether two files are identical.
  • Creating content fingerprints for caching or de-duplication.
  • Learning how hash functions behave, for example the avalanche effect.

Frequently asked questions

Can I use this to hash passwords?

No. Plain SHA hashes are fast by design, which makes stored passwords easy to guess offline. Password storage needs a slow, salted algorithm such as Argon2, scrypt, bcrypt or PBKDF2, applied on the server side.

Why is MD5 missing, and is SHA-1 safe?

The browser’s Web Crypto API does not provide MD5. MD5 and SHA-1 are considered broken for security purposes because collisions can be created, so do not rely on them for signatures or integrity against an attacker. SHA-1 is listed here only for compatibility with older checksums.

How do I verify a downloaded file?

Drop the file, then paste the publisher’s checksum into the compare box. If the hashes match the file is identical to what the publisher hashed. Get the checksum over a channel you trust, ideally not from the same place as the download.

Does the file leave my computer?

No. Files are read and hashed locally by your browser. Files are limited to 200 MB here because the whole file is held in memory.

All free tools

Need something built?

Turn this into a real product with Soch Tech

These tools are free to use. If you need custom software, a database or a secure application, tell us what you are working on.