Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text, and compare a hash against your result. Everything runs locally in your browser.
Compare a hash
About this tool
A hash function turns any input — a password, a file, a block of text — into a fixed-length string of characters called a digest. The same input always produces the same hash, but even a one-character change in the input produces a completely different result, and (for the algorithms here) there's no practical way to work backward from the hash to the original input. This tool computes several common hash algorithms for whatever text you type, entirely in your browser.
Which algorithm to use: SHA-256 is the modern default for most purposes — checksums, digital signatures, blockchain applications — and is computed here using the browser's native Web Crypto API. SHA-1 and especially MD5 are older and now considered cryptographically broken (researchers can deliberately construct different inputs that produce the same MD5 or SHA-1 hash), so neither should be relied on for security-sensitive uses like verifying that a file hasn't been tampered with by an adversary — they're included here mainly for compatibility with older systems and for checking file integrity against accidental corruption. The comparison field below lets you paste a known hash and check it against your SHA-256 result.
Version 1.0.0