100% client-side — your input never leaves your browser.Verify

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes from any text or file. Hex or Base64 output (Subresource Integrity ready). All computation runs locally in your browser.

Drag & drop a file here, or click to browse

MD5
SHA-1
SHA-256
SHA-384
SHA-512

What is a Hash?

A hash function takes input data and produces a fixed-size string of characters. Hashes are one-way: you can generate a hash from data, but cannot reverse it. Common uses include password storage, data integrity verification, digital signatures, and file checksums.

Hash Algorithms

  • MD5: 128-bit hash. Fast but not collision-resistant — avoid for security, fine for checksums.
  • SHA-1: 160-bit hash. Deprecated for security but still used in legacy systems and Git.
  • SHA-256: 256-bit hash from the SHA-2 family. Widely used in security, blockchain, and certificates.
  • SHA-384: 384-bit hash from the SHA-2 family. Truncated SHA-512 — used in TLS 1.3 cipher suites and AWS KMS.
  • SHA-512: 512-bit hash. Maximum security from the SHA-2 family.

Hex vs Base64 output

Hex is the default (lowercase, two characters per byte) — used by Git, Docker image digests, AWS SigV4, and most CLI tools. Base64 is ~33% more compact and required for Subresource Integrity attributes (<script integrity="sha256-BASE64HASH">), HTTP Digest authentication (RFC 7616), HPKP certificate pinning, and many web platform APIs. Toggle the format above based on your target.