SHA-512 Hash Generator
Get the 128-character SHA-512 hash of text or a file, computed in your browser and ready to compare.
Generate SHA-512 Hashes Online
SHA-512 is the largest member of the SHA-2 family. It produces a 512-bit digest, twice the length of SHA-256, from the same kind of design. Some Linux distributions, package repositories and security standards publish SHA-512 checksums, and many systems use it inside HMAC and key-derivation functions.
This page opens the Hash Generator with the SHA-512 row highlighted. Hashing uses the browser's built-in Web Crypto API, so text and files stay on your device.
SHA-512 compared with other hashes
| Algorithm | Digest | Hex length | Status |
|---|---|---|---|
| MD5 | 128 bits | 32 | Broken for security; checksums only |
| SHA-1 | 160 bits | 40 | Collisions demonstrated; avoid for new work |
| SHA-256 | 256 bits | 64 | Secure; the common default |
| SHA-512 | 512 bits | 128 | Secure; longer digest, fast on 64-bit CPUs |
SHA-512 on the command line
| System | Command |
|---|---|
| Linux | sha512sum file.tar.gz |
| macOS | shasum -a 512 file.tar.gz |
| Windows PowerShell | Get-FileHash file.tar.gz -Algorithm SHA512 |
| Windows cmd | certutil -hashfile file.tar.gz SHA512 |
What SHA-512 is not for
A plain SHA-512 hash is not a safe way to store passwords: like every general-purpose hash it is built to be fast, so an attacker can test billions of guesses. Password storage needs a slow, salted algorithm such as Argon2 or bcrypt. The $6$ password hashes on Linux use SHA-512 internally, but with a salt and thousands of rounds, which is a different thing from a single SHA-512 digest.
Related hashes
Need the shorter standard digest? Use SHA-256. Working with an older checksum list? MD5 is still highlighted on its own page, and File Checksum Checker walks through verifying a download with any of them.