Security & Identity

Hash Generator

Generate SHA-256, SHA-384, and SHA-512 hashes for text or local files with hexadecimal or Base64 output.

Runs locally in your browser

Text input

Text is encoded as UTF-8; an empty value also produces a valid hash.

How to use this hash generator

Choose text or a local file, select SHA-256, SHA-384, or SHA-512, then choose hexadecimal or Base64 output. Text uses UTF-8; all computation and file reading happen in your browser.

SHA-2 algorithms

SHA-256, SHA-384, and SHA-512 are members of the SHA-2 family with 256-, 384-, and 512-bit outputs. Choose the algorithm and encoding required by the system you are integrating with.

Security and privacy

This tool provides SHA-2 only. A hash is not encryption or a password-storage scheme, and MD5 or SHA-1 are not recommended for security use. File contents never leave your browser.

Frequently asked questions

Can a hash be reversed to the original text?

No. A hash is a one-way digest commonly used for integrity checks. The same input and algorithm produce the same result, but the digest does not contain reversible source text.

Is my file uploaded?

No. The browser reads the file bytes and computes the digest with Web Crypto; the page does not send the file to a server.

Why offer Base64 output?

Hexadecimal is convenient to inspect by eye, while Base64 is more compact for text-based transport. Both encodings represent the same digest bytes.