How to use the hash generator
- Choose Text or File.
- Type or paste the text, or pick a file of up to 200 MB. Text hashes update as you type.
- Pick an algorithm. SHA-256 is selected by default because it is the most common choice for checksums today.
- Choose the output format: lowercase hex, uppercase hex or Base64.
- To verify a download, paste the checksum published by the author into Expected hash. The tool tells you at once whether it matches.
- Press Copy to put the hash on your clipboard.
Your text and files stay on your device
Everything is calculated in your browser. Files are read locally and are never uploaded to our server, so you can safely check large installers or private documents.
What a hash is
A hash function turns any amount of data into a short, fixed-length fingerprint. The same input always gives the same hash, and changing even one bit of the input changes the result completely. That makes hashes ideal for spotting corrupted or altered files.
Text is first converted to bytes with UTF-8, so accented letters and emoji hash the same way they would in most programming languages. Line breaks in the text box count as a single line feed character; a file saved with Windows line endings (CR LF) therefore has a different hash than the same text pasted here.
Worked example
The three letters abc are three bytes. Their hashes are:
- MD5:
900150983cd24fb0d6963f7d28e17f72(32 hex characters, 128 bits) - SHA-1:
a9993e364706816aba3e25717850c26c9cd0d89d(40 hex characters, 160 bits) - SHA-256:
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad(64 hex characters, 256 bits)
In Base64 the same MD5 hash is the 24-character string kAFQmDzST7DWlj99KOF/cg==.
Good to know
- MD5 and SHA-1 are broken for security. Attackers can create two different inputs with the same hash, so never use them for digital signatures or certificates. They are still fine for detecting accidental corruption.
- Plain hashes are not for passwords. Even SHA-256 is far too fast to store passwords safely. Password storage needs a slow, salted function such as bcrypt, scrypt or Argon2.
- SHA hashing uses your browser's built-in Web Crypto, which only works on a secure (HTTPS) page. MD5 is calculated by the tool itself.
- Hex checksums are compared without regard to upper or lower case, and spaces are ignored.