Hash Generator (MD5, SHA-256)
Get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file, all at once.
Loading…
How to use
- Choose Text or File.
- For Text, type or paste into the box; the hashes update as you type. The text is hashed as UTF-8.
- For File, pick a file; its name and size in bytes are shown, and “Calculating…” appears while it is processed.
- Read the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 values in the table. They are shown in lowercase hex; tick Uppercase to show capital letters.
- Copy a hash with the button next to it, or compare it with the value the publisher provides.
Frequently asked questions
- Is my text or file uploaded?
- No. Hashes are calculated in your browser; your text and files are not sent to our server or anywhere else.
- Which hash should I use?
- Use SHA-256 (or SHA-384/SHA-512) to verify downloads. MD5 and SHA-1 have practical collision attacks, so use them only to match old checksums, not to detect deliberate tampering.
- Why is my hash different from another tool’s?
- A hash depends on the exact bytes: an extra space or line break, or Windows (CRLF) versus Unix (LF) line endings, changes it completely. This tool hashes text as UTF-8, and line breaks typed in the box are LF.
- Can I use this to hash passwords?
- Not for storing them. A fast hash such as MD5 or SHA-256 can be guessed billions of times per second even with a salt; password storage needs a dedicated, deliberately slow algorithm such as Argon2, bcrypt or scrypt.
- Is there a file size limit?
- There is no fixed limit, but the whole file is loaded into memory, so files of several gigabytes may be slow or fail depending on your browser and device.