Hunt
Skip to content

SHA-512 Hash Generator

Type text or choose a file to get its SHA-512 hash, as hex or Base64. SHA-384 is shown alongside, with MD5, SHA-1 and SHA-256, and you can compare any of them with an expected checksum. Everything is calculated in your browser.

Runs in your browser

Text

Text is hashed as UTF-8 bytes, exactly as typed: a trailing space or line break changes the hash.

Hashes

SHA-512
MD5not for security
SHA-1not for security
SHA-256
SHA-384

SHA-512, SHA-384 and SHA-256

SHA-512 produces a 512-bit hash (128 hex characters). It belongs to the same SHA-2 family as SHA-256 and is just as secure for checksums; on 64-bit processors it's often faster. SHA-384 is SHA-512 with different starting values, cut to 384 bits.

You'll meet SHA-512 in package registries (npm's integrity fields use sha512- followed by Base64), Linux distribution checksums and some signature schemes. Use whichever algorithm the publisher lists.

How to use the SHA-512 Hash Generator

  1. Type or paste text, or switch to File and choose or drop a file.
  2. Read the SHA-512 or SHA-384 hash as hex or Base64.
  3. Paste an expected hash into Compare with to check it matches.

Examples

A short text

Input
hello world
Output
309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f

A classic test sentence

Input
The quick brown fox jumps over the lazy dog
Output
07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6

Options

Hash
Text (hashed as UTF-8) or a file (hashed byte for byte).
Output
Lowercase hex, uppercase hex, or Base64. npm's integrity values are sha512- plus the Base64 form.
Compare with
Paste a hash in hex or Base64 to see whether it matches.

Limitations

  • Files up to 500 MB, held in memory while they're hashed.
  • Text is hashed as UTF-8.

Frequently asked questions

Is my file uploaded?

No. Hashing uses your browser's Web Crypto API; nothing leaves your device.

How do I check an npm integrity value?

Choose the package's .tgz file, set Output to Base64, and compare the SHA-512 value with the part after sha512- in package-lock.json.

Is SHA-512 more secure than SHA-256?

Both are secure for checksums and signatures; SHA-512 has a larger output. Neither is suitable on its own for storing passwords.