Hash Generator

Type any text and instantly get its SHA-1, SHA-256, SHA-384, and SHA-512 hash values.

SHA-1

-

SHA-256

-

SHA-384

-

SHA-512

-

What is a hash?

A hash function takes input data of any length and always produces a fixed-length output (the hash value). The same input always produces the same hash, but even a tiny change to the input produces a completely different hash β€” a property widely used for verifying file integrity and storing passwords securely.

Why isn't MD5 supported?

MD5 and SHA-1 have both suffered real-world collision attacks (where two different inputs produce the same hash), so neither is recommended for security purposes anymore. This tool uses the browser's built-in Web Crypto API, which does not support the weak MD5 algorithm β€” so only SHA-1 (provided for reference only) and the SHA-2 family (SHA-256/384/512) are available. For anything security-sensitive, use SHA-256 or higher.

A note on privacy

The text you enter is processed entirely inside your browser using the built-in Web Crypto API and is never sent to a server. This tool hashes UTF-8 encoded text; it does not support hashing files directly.

Frequently Asked Questions

Can the original text be recovered from a hash value?

No. Hash functions are designed to be one-way β€” you cannot reverse a hash value back into the original data. This is exactly why storing password hashes instead of plain-text passwords is considered a safe practice.

Do spaces or line breaks affect the result?

Yes. Hash functions produce a completely different output for even the smallest change in input (one space, one line break), so hash values only match when the texts are exactly identical.