A cryptographic hash function takes any input — a word, a paragraph, or an entire file — and produces a fixed-length string of characters called a hash (or digest) that uniquely represents that input. The same input always produces the exact same hash, but changing even a single character produces a completely different, unpredictable result. Crucially, hashing is one-way: you cannot reverse a hash back into its original input.
This hash calculator generates MD5, SHA-1, and SHA-256 digests from any text you enter, computed instantly in your browser. Paste in a string and get its hash in each algorithm, useful for verifying file integrity, generating checksums, or understanding how hashing works.
One important distinction: MD5 and SHA-1 are still widely used for non-security purposes like checksums and deduplication, but both are considered cryptographically broken and must not be relied on for security-sensitive purposes such as digital signatures or certificate generation. SHA-256 (part of the SHA-2 family) remains the current standard for security-critical hashing.