Skip to content
ErgaLab
Generators

Hash Generator

Type or paste text to see its MD5, SHA-1, SHA-256, and SHA-512 hashes computed live, side by side.

Text to hash

Digests

MD5
SHA-1
SHA-256
SHA-512

How it works

A hash function takes any input and produces a fixed-length fingerprint of it — the same input always produces the same hash, and changing even one character produces a completely different one. SHA-1, SHA-256, and SHA-512 are computed using the browser's built-in Web Crypto API, the same cryptographic engine used for secure connections and digital signatures.

MD5 is included for compatibility with legacy systems that still expect it (checksums, older APIs, cache keys) — it is not cryptographically secure and shouldn't be used for passwords, signatures, or anything where collision resistance matters. For that, prefer SHA-256 or SHA-512.

Examples

SHA-256 of an empty string

A well-known reference value.

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

MD5 of "abc"

The classic RFC 1321 test vector.

900150983cd24fb0d6963f7d28e17f72

Frequently asked questions