Hash generator

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or a file as you type, and compare against an expected hash to see if it matches.

What you type here is not stored.

Waiting for input

Type something to see its five hashes right away.

How it works

How it works

A hash function turns any input into a fixed-length fingerprint. The same text always gives the same hash, and any change, however small, gives a completely different one. That is why hashes are used to check that a download is not corrupted or to detect changes.

The tool computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once as you type. SHA uses the browser’s Web Crypto API; MD5 is not in that API, so it runs on a built-in implementation tested against the RFC 1321 test vectors. Text is encoded as UTF-8 before hashing, as sha256sum and most languages do.

Comparing and files

Paste the hash you were given into “Compare with” (upper case, with spaces or colons, it does not matter) and the indicator tells you which algorithm it matches. In the File tab you can hash a file without uploading it anywhere.

MD5 and SHA-1 are no longer safe against attacks: use them to catch errors, not to sign anything or store passwords. For passwords, use a slow algorithm such as Argon2 or bcrypt.

FAQ

Can I use MD5 or SHA-1 to store passwords?

No. They are fast on purpose and fall to brute force today. Use Argon2, scrypt or bcrypt for passwords. MD5 and SHA-1 are still fine for spotting accidental changes in a file.

Is my file uploaded anywhere?

No. The file is read and hashed in your browser; neither its content nor the hashes leave your device.

↑ ↓ to move, Enter to open, Esc to close

Keyboard shortcuts

Ctrl K/
Search tools
c
Copy the main result
1 … 9
Switch tab
?
Show this help