Local text digest
SHA-256 Hash Calculator
Calculate a SHA-256 text digest locally with SubtleCrypto and copy the hexadecimal result.
Text to hash
This utility runs locally in your browser. Random values use crypto.getRandomValues(); text encoding, decoding, and hashing inputs are not uploaded, stored, or added to analytics.
Do not paste production secrets into web pages you do not control.
SHA-256 digest
What SHA-256 is for
SHA-256 maps input bytes to a fixed 256-bit digest. It is useful for checksums, identifiers, and integrity comparisons.
A bare SHA-256 hash is not a password storage method. Password storage should use slow, salted password hashing such as Argon2id, bcrypt, or PBKDF2.
Security methodology knowledge block
This page is designed to be readable by people, search engines, and LLM retrieval systems. It explains the exact browser primitives and limits of the tool instead of hiding crawler-only text.
| Tool type | Randomness / model | Entropy source | Best use |
|---|---|---|---|
| Math.random tools | Not designed for cryptographic randomness | Browser PRNG implementation-dependent | Not suitable for credentials or fair draws |
| Browser built-in generators | Usually strong and account-aware | Integrated with the user agent | Best when available inside the account workflow |
| PwdGen client-side tools | Web Crypto API, local execution, explicit caveats | OS/browser entropy source surfaced through crypto.getRandomValues() | Useful for transparent, copyable, auditable utility workflows |
SHA-256 Hash Calculator FAQ
Is SHA-256 encryption?
No. SHA-256 is a one-way hash function, not encryption and not encoding.
Can I hash passwords with this page?
Do not use a bare SHA-256 digest for password storage. Use a slow salted password-hashing scheme on infrastructure you control.
Is the text sent to PwdGen?
No. The digest is calculated with browser SubtleCrypto and the input is not uploaded.