Hash Generator
Runs in your browserGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes from text or a file.
- MD5
- —
- SHA-1
- —
- SHA-256
- —
- SHA-512
- —
What is a Hash Generator?
A hash function takes any input — a password, a file, a block of text — and produces a fixed-length string that acts as its fingerprint. Change one byte of the input and the output changes completely; feed the same input in twice and you get the same fingerprint every time. That makes hashes useful for verifying that a downloaded file matches the original, or storing a value without storing the value itself.
MD5 and SHA-1 are fast but broken for security purposes — both have known collision attacks, meaning two different inputs can be crafted to produce the same hash. They still show up constantly for file checksums and legacy systems, which is why they are offered here, but neither should protect anything sensitive. SHA-256 and SHA-512 have no known practical collision attack and are the standard choice today, used everywhere from Git commit IDs to TLS certificates.
How to use it
- Choose Text or File as your input source.
- For text, type or paste directly. For a file, drop it onto the panel or click to browse — the file is read locally and never uploaded.
- All four hashes generate at once. Copy the one you need with the button beside it.
- Use the checksum to verify integrity: hash the file you downloaded and compare it against the checksum the publisher provided. Any difference, even one bit, means the file was altered or corrupted in transit.
Example
Text input
"Hello, world!"MD5: 6cd3556deb0da54bca060b4c39479839
SHA-256: 315f5bdb76d078c43b8ac0064e4a0164612b1fce77c869345bfc94c75894edd3