Hash Generator Online

Generate SHA-256, SHA-1, SHA-384, and SHA-512 hashes with the Web Crypto API in your browser. Your input stays local.

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.

Built and maintained by Udit Agarwal

Cryptographic Hash Functions, Explained

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

  1. Pick an algorithm with the SHA-256 / SHA-1 / SHA-384 / SHA-512 selector.
  2. Paste or type the text you want to hash into the input box.
  3. Read the hex digest that appears below as you type.
  4. Click Copy to send the digest to your clipboard.
  5. 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

  • JWT Decoder — Decode JWT header & payload and inspect exp / iat (no verification).
  • TOTP / 2FA Generator — Generate time-based one-time passwords (2FA codes) from a base32 secret.
  • Password Generator — Generate strong, random passwords with a strength meter (crypto-secure).
  • JWT Signer — Create and sign a JWT (HS256/384/512) from a payload and secret — Web Crypto.
  • Base64 Encode / Decode — UTF-8 safe Base64 encoding and decoding.
  • UUID Generator — Generate up to 1,000 UUIDs at once: random v4, time-ordered v7 or the NIL UUID.
  • Number Base Converter — Convert integers between binary, octal, decimal and hex.

Guides

More Security tools

  • Password Generator — Generate strong, random passwords with a strength meter (crypto-secure).
  • SSH Key Generator — Generate Ed25519, RSA or ECDSA SSH keypairs in your browser and download the public and private keys.
  • PPK ↔ PEM Converter — Convert SSH private keys between PuTTY .ppk and OpenSSH/PEM (RSA & Ed25519) — locally in your browser.
  • TOTP / 2FA Generator — Generate time-based one-time passwords (2FA codes) from a base32 secret.
  • JWT Signer — Create and sign a JWT (HS256/384/512) from a payload and secret — Web Crypto.
  • Basic Auth Generator — Generate and decode HTTP Basic Auth Authorization headers from a username and password.
  • Certificate & Private Key Matcher — Confirm an X.509 certificate or CSR and a private key belong together (the classic modulus mismatch check) — locally in your browser.
  • PFX to PEM Extractor — Open a password-protected .pfx/.p12 file and split it into certificate, chain, and private-key PEM blocks.
  • Bcrypt Generator — Hash a password with bcrypt and verify a password against a bcrypt hash, in your browser.
  • HMAC Generator — Generate an HMAC (SHA-256, SHA-1, SHA-512) from a message and secret key using Web Crypto.
  • Password Strength Checker — Check password strength with entropy, character-set and common-pattern analysis, in your browser.
  • X.509 Certificate Decoder — Decode a PEM or DER certificate to view subject, issuer, validity, SANs and fingerprints.

See all Security tools (27) · All tools