Hash generator
Paste text or pick a file, choose an algorithm, and copy the hash. It is computed on your device.
Hash generator runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Choose text or a file Pick Text to hash what you type, or File to hash a file. Then choose MD5, SHA-1, SHA-256, or SHA-512 in the Algorithm list.
- Read the hash The hash appears as lowercase hexadecimal and updates as you type. Tick Uppercase output to see the same value in capital letters.
- Copy the result Press Copy under the result. Text is encoded as UTF-8 before hashing. A file is read on your device and must be 200 MB or smaller.
Questions
Can I use MD5 or SHA-1 to store passwords?
No. MD5 and SHA-1 are fast and have known weaknesses, so they are not suitable for storing passwords or for other security uses. Use a password hashing function designed for that purpose.
Is a hash the same as encryption?
No. A hash cannot be reversed to recover the original text. Anyone can still hash a guess and compare the result, so a hash does not keep a value secret.