SHA Hash Generator

Calculate SHA-256, SHA-384 or SHA-512 hashes for UTF-8 text or a bounded local file.

Local processing · No uploads · No input history

Hashing is not encryption. These fast hashes are not password-storage functions. Text is UTF-8; whitespace and line endings affect the digest.

Ready. Enable JavaScript to use the controls. Inputs stay local.

How it works

Choose Text or Local file as the input mode. Enter the exact text, including meaningful whitespace, or choose a file up to 10 MiB. Select SHA-256, SHA-384 or SHA-512. Click Generate hash and inspect the lowercase hexadecimal digest. Copy or download the digest. Clear removes the local fields. Text is UTF-8 encoded without trimming or normalizing whitespace and is bounded to 1 MiB of encoded bytes. Files are hashed as their original bytes, with a 10 MiB limit. Empty text has a valid hash. Unpaired surrogates use the standard TextEncoder replacement character. Web Crypto requires HTTPS and a supported browser. Hashing is not encryption and cannot recover the input. SHA-256/384/512 are fast general-purpose hashes, not password-storage functions; use a dedicated password hashing scheme in an application.

Interpret results and limitations

Text is UTF-8 encoded without trimming or normalizing whitespace and is bounded to 1 MiB of encoded bytes. Files are hashed as their original bytes, with a 10 MiB limit. Empty text has a valid hash. Unpaired surrogates use the standard TextEncoder replacement character. Web Crypto requires HTTPS and a supported browser. Hashing is not encryption and cannot recover the input. SHA-256/384/512 are fast general-purpose hashes, not password-storage functions; use a dedicated password hashing scheme in an application.

Example

Use this example to understand the expected behavior before working with your own input.

SHA-256 of abc:
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Continue your task

Password Generator & Strength Checker — Continue with this related local tool.

base64 — Continue with this related local tool.

Frequently asked questions

A checksum differs or Web Crypto is unavailable?

Check encoding, whitespace, line endings and selected algorithm. Use file mode for exact file bytes and open the HTTPS site for Web Crypto support.

Is my input uploaded or stored?

No. Processing and results stay in this tab. There is no input history or server processing. Copy and download are explicit actions.

Usage analytics settings

Optional analytics helps us improve tools. Tool input, recordings and search text are excluded from our events. Privacy policy

Usage analytics is off unless you enable it.