Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.

Source

Hashes update as you type. Pick a file to hash its contents instead.

MD5
—
SHA-1
—
SHA-256
—
SHA-384
—
SHA-512
—

How it works

A hash function turns any input into a fixed-length fingerprint: change one byte and the output changes completely. This tool runs the browser's own Web Crypto implementation for SHA-1, SHA-256, SHA-384 and SHA-512, and a small JavaScript routine for MD5, which Web Crypto does not ship. Text is encoded as UTF-8 before hashing, matching what md5sum, sha256sum, Python and Node produce for the same string. Files are hashed as raw bytes, so the result is identical to running the command-line tools on the file.

Common questions

Privacy

Text and files are hashed on your device only. Nothing is uploaded, which also makes this safe for checking private documents and secrets.