Instantly compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes from your text (runs entirely in your browser)
A hash value is like a fingerprint that converts data of any length into a fixed-length value. The same input always produces the same hash, and even a tiny change in the input changes the value dramatically. Hashes are used for tamper detection, password storage, and verifying that data matches. For example, SHA-256 produces a fixed length of 256 bits (64 hexadecimal characters).
SHA-256 is a cryptographic hash function that turns data of any length into a 256-bit (64 hexadecimal characters) hash value. It is part of the SHA-2 family standardized by NIST, and it is one-way: the original data cannot be recovered from the hash. It is widely used for tamper detection, TLS certificate signatures, Git, and Bitcoin. As a quick check, the SHA-256 of "abc" is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad (type abc into the input above and you will get the same value). See our explainer on hashing for how it works.
SHA-1 can no longer be considered secure. A practical collision (an attack that produces the same hash from different inputs) was published in 2017, so it is deprecated for security uses such as signatures and certificates. For anything other than compatibility checks, we recommend using SHA-256 or stronger.
This tool does not support MD5, because the browser's built-in Web Crypto API (crypto.subtle.digest) does not support it. MD5 also has established collision attacks and should not be used for security purposes. This tool provides SHA-1, SHA-256, SHA-384, and SHA-512.