Hash generator
Runs entirely in your browser. Your files and data never leave your device.
About this tool
This tool hashes text with four algorithms at once: MD5, SHA-1, SHA-256, and SHA-512. Type or paste text and it computes all four hashes over the UTF-8 bytes as you type, each shown as lowercase hex with a copy button next to it.
Why compute all four algorithms instead of picking one?
Different situations call for different algorithms, and showing all four at once saves a round trip when you’re not sure which one a checksum file or an old script expects. SHA-1, SHA-256, and SHA-512 are computed through the browser’s built-in Web Crypto API. MD5 needs a small JavaScript library instead, since browsers don’t implement it natively as a Web Crypto algorithm. All four run over the same UTF-8 bytes of your input, so the four hex strings you see are always hashes of the exact same text.
Are MD5 and SHA-1 still safe to use?
Not for anything security-sensitive. Both have known collision attacks, meaning an attacker can construct two different inputs that hash to the same value, so they shouldn’t protect passwords, sign anything, or verify that a file hasn’t been tampered with. They’re still perfectly fine for checksums and deduplication, where you’re just comparing two pieces of data for a quick match rather than defending against someone deliberately trying to fool the check. For anything where security actually matters, like storing passwords or verifying signatures, use SHA-256 or SHA-512 instead.
Is the text I type sent anywhere?
No. Everything runs locally, in your browser, as you type. Nothing you enter is sent to a server or stored anywhere.
Common uses: checking that a download or copied file matches its published checksum, generating cache keys or content-addressed identifiers, spotting duplicate text or records, or working out what hash a piece of code produces for a given input while debugging. See MDN’s SubtleCrypto.digest() reference for how the WebCrypto hashes are computed.