Hash Generator
SHA-256 / SHA-1 / SHA-384 / SHA-512 via the Web Crypto API.
Your text is hashed locally in your browser with the Web Crypto API and nothing is uploaded, but avoid pasting real production secrets or passwords into any hashing field.
Working with tokens? Try the JWT Decoder.
About Hash Generator
This hash generator turns any text into a cryptographic digest using SHA-256, SHA-1, SHA-384 or SHA-512, computed with the browser's native Web Crypto API. Paste a string and you instantly get the lowercase hex digest, making it easy to verify checksums, compare values, fingerprint content, or generate deterministic identifiers. It's handy for developers checking file or message integrity, QA engineers validating an expected sha256 generator output, and anyone who needs a quick sha-512 hash or sha1 hash online without leaving the page. The tool reads your input as UTF-8 text and runs entirely in your browser, so whatever you paste is processed locally and your data never leaves your device. Switch algorithms with one click to compare digest lengths from 160 to 512 bits.
Features
- Generates SHA-256, SHA-1, SHA-384 and SHA-512 digests
- Powered by the browser's native Web Crypto API
- Outputs lowercase hexadecimal, the standard digest format
- Live updates the hash as you type or edit the input
- Shows the digest bit length (160 to 512 bits) for the selected algorithm
- One-click switching between hash algorithms to compare outputs
- Copy the resulting digest to your clipboard in one click
- Hashes input as UTF-8 text, matching common command-line tools
How to use the Hash Generator
- Pick an algorithm with the SHA-256 / SHA-1 / SHA-384 / SHA-512 selector.
- Paste or type the text you want to hash into the input box.
- Read the hex digest that appears below as you type.
- Click Copy to send the digest to your clipboard.
- Switch algorithms to regenerate the hash and compare digest lengths.
Example
Input
hello
Output
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
SHA-256 digest of the text "hello", shown as lowercase hex.
Common errors & troubleshooting
- Your digest does not match a checksum from md5sum or another MD5 tool. — This tool only supports the SHA family. MD5 is not offered, so compare against SHA-256, SHA-1, SHA-384 or SHA-512 output instead.
- The hash differs from a command-line result for the same string. — Most shell pipelines add a trailing newline. Pass the text without a newline (for example printf instead of echo) so the input bytes match exactly.
- An uppercase digest you were given never matches. — Output here is lowercase hex. Lowercase the value you are comparing against, since hex case does not change the underlying digest.
- Hashing the same word gives a different result than a salted password hash. — This generates a plain unsalted digest of your text. Salted or key-derivation hashes (bcrypt, PBKDF2) will not match a raw SHA digest.
Frequently asked questions
- What is the ArrayKit Hash Generator?
- It is an in-browser tool that turns any text into a cryptographic digest using SHA-256, SHA-1, SHA-384 or SHA-512, computed with the Web Crypto API. It is ideal for checksums, content fingerprints and integrity checks.
- How do I generate a SHA-256 hash with this tool?
- Select SHA-256 in the algorithm selector, then paste or type your text into the input box. The lowercase hex digest appears below as you type, and you can click Copy to grab it.
- Why is the hash output all lowercase hex?
- Each byte of the digest is rendered as two lowercase hex characters, the most common format used by tools and APIs. Hex case is cosmetic and does not affect the value.
- Can I reverse a hash back into the original text?
- No. SHA hashing is one-way by design, so a digest cannot be decoded back into its input. Use it for verification and fingerprinting, not for storing recoverable data.
- Why doesn't my SHA-256 match the one from my terminal?
- Terminals often append a newline to the input. Hash the text without a trailing newline so the bytes are identical to what you paste into the Hash Generator.
- Is my input safe when I use the Hash Generator?
- Yes. The digest is computed with the Web Crypto API directly in your browser, so the text you hash is processed locally and nothing is uploaded to a server.
Related tools
All ArrayKit tools