Hash Generator
Compute SHA hashes of text in your browser.
Hashing runs locally. Hashing is one-way and is not encryption. Do not use a plain SHA hash to store passwords.
How to use this tool
- Enter text, including any spaces or line breaks you want included.
- Choose SHA-256, SHA-384, or SHA-512 and generate the digest locally.
- Copy the hexadecimal or Base64 result.
What the result means
A SHA digest is a fixed-length fingerprint of the UTF-8 bytes of your text. The same exact input gives the same digest; changing a byte usually gives a very different result. Base64 and hex are two encodings of the same digest.
Example
The SHA-256 digest of abc starts with ba7816bf. Adding a space changes the result because the input bytes change.
Limitations
Hashing is one-way, not encryption. This tool handles text up to 1 MiB and does not hash files yet. Plain SHA is unsuitable for password storage; use a purpose-built password hashing algorithm for that. The text is not sent or saved by this tool.
Common questions
Is my text uploaded?
No. This tool uses Web Crypto in your browser and does not send the text or digest to our API.
Which output format should I use?
Hex and Base64 represent the same bytes. Choose the format expected by the system you are comparing against.