SHA-512 hash generator

Compute the SHA-512 hash of text or a file and compare it with a checksum.

Runs in your browser. Your input is not uploaded.

SHA-512
 

What it does

SHA-512 produces a 512-bit digest (128 hex characters). It is often faster than SHA-256 on 64-bit processors and is used for package checksums such as npm’s integrity field.

How to use it

  1. Type text or choose a file.
  2. Choose hex or Base64.
  3. Compare with a published checksum.

Things to watch for

  • npm’s sha512-… integrity value is Base64, not hex.
  • Like every fast hash, it is not suitable for storing passwords.

Questions

How do I check a file’s SHA-512 checksum?
Choose the file, paste the published checksum into Compare, and the tool says whether they match. On the command line: sha512sum file.
Is the file uploaded?
No. It is read and hashed in your browser. Files up to 512 MB are supported.
Why is my hash different from another tool’s?
Usually a trailing new line (echo adds one; use printf %s), a different character encoding, or Windows line endings. This tool hashes the exact UTF-8 bytes of the text.
Can a hash be reversed?
No. But short or common inputs can be found by guessing, which is why plain hashes are not suitable for passwords.