SHA-256 Hash Generator

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

🔒 100% browser-based — your data never leaves your device.

About this tool

Compute cryptographic hashes of any text using the Web Crypto API built into your browser: SHA-256 (the current standard), SHA-1 (legacy), SHA-384 and SHA-512. A hash is a fixed-length fingerprint — the same input always gives the same output, and even a one-character change produces a completely different hash.

Hashes are used to verify file and message integrity, store password fingerprints, deduplicate content and sign data. Text is hashed as UTF-8, so results match standard command-line tools like sha256sum.

Frequently asked questions

Can a hash be reversed to get the original text?

No. Hashes are one-way by design. The only "reversal" is guessing inputs and comparing, which is why short or common passwords remain crackable — length defeats guessing.

Why is SHA-1 marked legacy?

Practical collision attacks against SHA-1 were demonstrated in 2017, so it is no longer safe for signatures or certificates. Use SHA-256 or better for anything new.

Why does my result differ from another tool?

Almost always a trailing newline or different text encoding. This tool hashes exactly what you type, encoded as UTF-8 with no added newline.