
Generate UUID v4, 21-character NanoID or 12-character hex IDs in batches up to 100.
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text.
Your files never leave your device. Everything runs in your browser.
Hash Generator computes SHA-1, SHA-256, SHA-384 and SHA-512 digests of any text using the browser's built-in Web Crypto API. A hash is a fixed-length fingerprint: the same input always produces the same output, while a tiny change in the input produces a completely different digest.
Hashes are one-way. You can verify that a piece of text matches a known digest, but you cannot recover the original text from the digest, and there is no key to enter. The four algorithms differ in output length and security level: SHA-1 is considered broken for security use, SHA-256 is the common general choice, and SHA-384 and SHA-512 provide longer digests.
The tool works on text only and treats it as UTF-8, so accented characters and emoji hash differently from the same text in another encoding. All four digests are shown at once and can be copied individually.
hello gives SHA-1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d and SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.Hello instead of hello produces four completely different values.No. Hashing is designed to be one-way, so the original text cannot be recovered from the digest. Attackers can only guess inputs and compare their hashes, which is why slow password hashing algorithms exist.
SHA-256 is the sensible default for general use. SHA-384 and SHA-512 produce longer digests for higher-assurance contexts, while SHA-1 should be avoided for anything security-related.
Usually because of encoding or a trailing newline. This tool hashes UTF-8 text exactly as typed. If another tool hashed a file or added a line break, the digest will differ.
No, not for security purposes. Practical collision attacks exist, so a forged file can share a digest with a genuine one. Use it only for non-adversarial checks such as cache keys.
Not directly. This tool accepts text, which is then UTF-8 encoded. File bytes may not survive a text conversion, so use a checksum tool that reads files as binary.
No. The Web Crypto API runs locally in your browser, and the text is never transmitted or stored.
Related convert tools: UUID / NanoID Generator, Base64 Encoder, Password Strength, File Checksum.
Hashing happens locally through the Web Crypto API — your text never leaves the browser.