Hash Generator
A hash function turns input of any length into a fixed-length fingerprint. Change one character of the input and the output changes completely, which makes hashes useful for checking that two pieces of data are identical without comparing them byte by byte.
Enter some text and get its MD5, SHA-1, SHA-256 and SHA-512 digests to compare against a published checksum.
Runs in your browser. Hash Generator processes your input on your own device. Nothing you enter or upload is sent to a server.
How to use the Hash Generator
- Enter or paste the text you want to hash.
- Read the digests for each algorithm.
- Copy the one you need.
Things worth knowing
- MD5 and SHA-1 are not collision-resistant and must not be relied on for security.
- A general-purpose hash is the wrong tool for storing passwords.
Frequently asked questions
Which algorithm should I use?
SHA-256 for anything where security matters. MD5 and SHA-1 are both broken for security purposes — practical collision attacks exist against them — and should only be used for non-adversarial checks such as detecting accidental corruption.
Can a hash be reversed?
Not by inverting the function. But short or common inputs can be recovered by looking them up in precomputed tables, which is why password storage uses slow, salted algorithms designed for the job rather than a plain hash.
Is my input sent anywhere?
No. The digests are computed in your browser.