SHA-512 Hash Generator
Calculate the SHA-512 hash of text or a file. Choose hex or Base64 output and compare against an expected hash.
SHA-512 hash of the text
Calculating…
SHA-512 checksum of a file
Choose a file (up to 100 MB). It is read in your browser and not uploaded.
About SHA-512
SHA-512 belongs to the SHA-2 family designed by the US National Security Agency. It works on 64-bit blocks, so on modern 64-bit computers it is often as fast as or faster than SHA-256 for large inputs. Its 512-bit output is written as 128 hexadecimal characters.
When to choose SHA-512
- When a system or specification asks for it, for example some signature and key-derivation schemes.
- When you want a longer fingerprint for large collections of files.
- For checksums of large downloads that publish SHA-512 values.
Example
The SHA-512 hash of the word hello begins 9b71d224bd62f378 and is 128 characters long in total.
How the common hashes compare
- MD5: 128 bits, 32 characters. Broken for security.
- SHA-1: 160 bits, 40 characters. Deprecated for security.
- SHA-256: 256 bits, 64 characters. Secure and very common.
- SHA-512: 512 bits, 128 characters. Secure, with a longer output.
How to use the SHA-512 Hash Generator tool
- Type or paste text to see its SHA-512 hash, or choose a file to get its checksum.
- Pick the output format: lowercase hex, uppercase hex or Base64.
- Paste a hash into the Expected hash box to check that it matches, then copy the result.
Frequently asked questions
What is SHA-512?
SHA-512 is a member of the SHA-2 family that produces a 512-bit hash, written as 128 hexadecimal characters.
What is the difference between SHA-256 and SHA-512?
Both are secure. SHA-512 gives a longer hash (128 characters instead of 64) and can be faster than SHA-256 on 64-bit computers when hashing large files.
Can SHA-512 be reversed?
No. Like all cryptographic hashes it is one-way. You cannot get the original text back from the hash.
Should I use SHA-512 to store passwords?
Not on its own. Plain SHA hashes are very fast, which helps attackers. Use a slow password hashing function such as bcrypt, scrypt or Argon2.