← all tools

SHA Hash Generator

SHA-256, SHA-1, SHA-384 and SHA-512, computed live as you type. Nothing leaves your browser.

About this tool

Hashes are one-way fingerprints of data, used for verifying downloads, comparing files and building checksums. This tool computes SHA-1, SHA-256, SHA-384 and SHA-512 with the browser's Web Crypto API, so even sensitive text stays on your device. SHA-256 is the safe modern default.

What a hash is and why it is one-way

A hash function turns any input, a word, a password, a whole file, into a fixed-length string of characters called a digest. The same input always produces the same hash, but the process is one-way: you cannot reverse a hash back into the original. Even a tiny change to the input produces a completely different hash, which is what makes hashing useful for checking integrity.

The common algorithms. MD5 and SHA-1 are old and now considered broken for security because collisions (two inputs sharing a hash) can be engineered, so they survive only for non-security checksums. SHA-256 is the modern standard for integrity. For storing passwords, plain hashing is not enough; purpose-built, deliberately slow functions like bcrypt or Argon2 with a unique salt are used to resist brute-force attacks.

What it is actually for. Two main jobs: verifying that a downloaded file was not corrupted or tampered with (compare its hash to the published one), and storing passwords so that even a breached database does not reveal them. The tool above generates common hashes from any text so you can check a file or see how the algorithms differ.

Common questions

What is a hash?

A cryptographic hash turns any input into a fixed-length string of characters. The same input always gives the same hash, but you cannot reverse it back to the input. Hashes are used to verify file integrity, store password fingerprints and create checksums.

Which hash should I use?

SHA-256 is the modern default and is recommended for checksums and integrity checks. SHA-1 is legacy and considered weak for security. SHA-512 produces a longer digest. This tool shows all of them at once.

Is my text uploaded?

No. Hashing uses the browser's built-in Web Crypto API and runs entirely on your device. Nothing is sent to a server.

Related calculators & tools
Text diff →CSS gradient →Image to base64 →Cron →