Saved
Developer tools·Hash Crypto

Hash Generator

Compute common digests in hex from any text. Fully client-side — no account, uploads, or remote storage. Runs locally in your browser.

Added Apr 18, 2026 · Updated May 1, 2026

Input

Result

Enter a value for algorithm to see your result.

How it works

Computes cryptographic hash digests using MD5, SHA-1, SHA-256, SHA-384, or SHA-512. Uses the native Web Crypto API for SHA variants and a pure-JS implementation for MD5.

Step by step

  1. 01Enter the text you want to hash.
  2. 02Select the algorithm: SHA-256 or SHA-512 for security-sensitive use cases.
  3. 03Choose hex or Base64 output format.
  4. 04The hash is computed instantly in your browser — input never leaves your device.

Examples

SHA-256 of "Hello, World!"

SHA-256 produces a 64-character hex string (256 bits).

Inputs

Algorithm:
SHA-256
Output Format:
hex
Input Text:
Hello, World!

Result

Hash:
dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f

Frequently asked questions

Which hash algorithm should I use?

Use SHA-256 or SHA-512 for security-critical applications. MD5 and SHA-1 are cryptographically broken and should only be used for checksums, not security.

Is my data sent to a server?

No. All hashing is performed locally in your browser using the Web Crypto API. Your input never leaves your device.

Why is SHA-256 output a hex string, not Base64?

Hexadecimal is a common interchange format for fingerprints because it is case-insensitive and easy to diff. Base64 is denser but not more secure — it is just a different encoding of the same bytes.

Can I use a hash as a password replacement?

Never store a single fast hash of a password without salt, pepper, and a slow KDF (bcrypt, scrypt, Argon2). This demo hashes arbitrary text quickly; attackers can brute-force low-entropy inputs offline.

Does hashing prove two files are identical?

A matching SHA-256 digest is overwhelmingly strong evidence the files are identical, but cryptographic collisions are theoretically possible for broken algorithms like MD5 for crafted inputs. Use SHA-256 for integrity checks.