Message Digest (MD5, SHA)
Hash text with MD5, SHA-1, SHA-256, SHA-384 and SHA-512.
About the Message Digest (MD5, SHA)
Compute message digests of any text using MD5, SHA-1, SHA-256, SHA-384, and SHA-512, computed locally with the Web Crypto API. Use digests for file integrity checks and fingerprints — never for storing passwords, which need a slow, salted password hash.
Frequently asked questions
Which algorithm should I choose?
SHA-256 or higher for anything new. MD5 and SHA-1 are offered for verifying legacy checksums and are not collision-resistant.
Can it hash files?
Text in the browser is covered here; for files use a local tool so multi-megabyte data never has to be uploaded anywhere.