SHA-256 Hash Generator
Type or paste text to get its SHA-256 hash as a lowercase 64-character hex string. Hashing runs entirely in your browser, so your input never leaves your device.
How to generate a SHA-256 hash
- Paste or type the text you want to hash.
- Read the 64-character lowercase hex digest that appears live.
- Copy the SHA-256 hash for your checksum, signature input or fingerprint.
Examples
SHA-256 of 'abc'
abc
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
SHA-256 of an empty string
(empty)
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Frequently asked questions
What is a SHA-256 hash?
SHA-256 is a member of the SHA-2 family that turns any input into a fixed 256-bit value, shown here as 64 hexadecimal characters. The same text always produces the same digest, and changing one character produces a completely different result.
Can I reverse a SHA-256 hash back to the original text?
No. SHA-256 is one-way by design, so there is no decrypt step. People only recover short or common inputs by guessing and re-hashing candidates, which is why hashing is not encryption.
Is SHA-256 secure?
Yes, SHA-256 is widely trusted and has no known practical collision or preimage attacks, which is why it underpins TLS certificates, Bitcoin and code signing. For storing passwords specifically, use a slow algorithm like bcrypt, scrypt or Argon2 rather than a raw SHA-256.
How does this tool handle accents and emoji?
Text is encoded as UTF-8 before hashing, so accented letters, non-Latin scripts and emoji each contribute their full byte sequence. This matches the digest produced by standard command-line tools and libraries.
Is my text sent to a server?
No. The SHA-256 digest is computed locally in your browser with a pure JavaScript implementation, so your input never leaves your device and the tool works offline.
Related tools
MD5 Generator
Generate the MD5 hash of any text online. Get a lowercase 32-character hex digest instantly, computed in your browser with nothing uploaded.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text. Live, lowercase hex output that runs entirely in your browser.
HMAC Generator
Generate an HMAC for a message and secret key with SHA-1, SHA-256, SHA-384 or SHA-512. Verify webhook and API signatures, with hex or base64 output.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base32 Encode
Base32 encode and decode text online using the standard RFC 4648 alphabet with proper padding. UTF-8 safe, fast and private in your browser.