Hash Generator (MD5, SHA-256, SHA-512)
Everything runs in your browser. Your data never leaves your device.
What this hash generator does
Calculate the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file at once. Text is hashed as UTF-8, so Arabic and emoji give the same result as other standard tools. Show the result in lowercase hex, uppercase HEX or Base64, copy any line, and paste an expected hash to check whether it matches.
How to use it
- Type or paste text, or press Open a file.
- All five hashes appear straight away.
- To verify a download, paste the published checksum in Compare with a hash.
Which algorithm should I use?
- SHA-256: the standard choice today for checksums, downloads and APIs.
- SHA-512 and SHA-384: longer versions of the same family.
- SHA-1 and MD5: still used to check old files and for quick comparisons, but broken for security: people can create two different files with the same hash.
Example
The text abc gives the SHA-256 hash ba7816bf…f20015ad and the MD5 hash 900150983cd24fb0d6963f7d28e17f72. These are the official test values of each algorithm, and the tool is tested against them.
Method
SHA hashes use the Web Crypto API built into your browser. MD5 is not offered by browsers, so it is implemented here following RFC 1321 and checked against its official test suite.
Frequently asked questions
What is a hash?
A short fingerprint of data. The same text or file always gives the same hash, and the smallest change gives a completely different one. You can't turn a hash back into the original data.
How do I verify a downloaded file?
Open the file here and paste the checksum published by the website (usually SHA-256) into the compare box. If it says Match, the file is exactly the one they published and was not damaged or changed.
Is hashing the same as encryption?
No. Encryption can be reversed with the right key; a hash cannot be reversed at all. To hide a message and read it later, use the text encryption tool instead.
Can I use MD5 or SHA-256 to store passwords?
Not on their own. They are too fast, so attackers can test billions of guesses per second. Websites should use slow password hashes such as bcrypt, scrypt or Argon2.
Are my files uploaded?
No. Files are read and hashed by your browser on your device, so even large or private files never leave it.
Last updated: · What's new