SHA-512 Hash Generator
Generate a SHA-512 hash of text or files in your browser, with hex or Base64 output and checksum verification.
Digest
About this input
Import from File
Drag & drop a file here
or
Supports .txt, .csv, .log, .json and other text files
What It Does
This tool generates the SHA-512 digest of your input: 512 bits, 128 hexadecimal characters. SHA-512 is the widest member of the SHA-2 family and works on 64-bit words, which is why it often runs faster than SHA-256 on modern 64-bit processors despite producing twice the output. It is the hash behind Ed25519 signatures and many Linux distributions' checksum files.
When to Use It
- A Linux distribution or package registry publishes SHA512SUMS and you need to verify an image or tarball.
- You are reproducing the integrity field in a package-lock.json, which npm records as sha512 in Base64.
- You want the widest standard digest available for a long-lived content identifier.
- You are comparing SHA-512 with SHA-512/256 to see that truncating is not the same as the dedicated variant.
Worked Examples
abc
Starts ddaf35a193617aba… — the FIPS 180 vector. 128 hex characters; in Base64 it becomes the 88-character form npm writes into lockfiles.
The empty-input digest begins cf83e1357eefb8bd. Recognising it saves time when a pipeline hashed nothing.
secret-key|message
Concatenating a key and a message and hashing it is vulnerable to length extension with SHA-512. Use the HMAC generator instead.
Features
How to Use
1. Type or paste text, or choose Hash a file to hash a file's raw bytes. 2. Pick the output encoding the value will be compared against — hex is the usual one. 3. To check a published checksum, paste it into the comparison box; the tool tells you whether it matches and, if not, whether it is even the same algorithm.
Common Mistakes
- Hashing text that is not byte-for-byte what the other side hashed. A trailing newline, Windows line endings or a byte-order mark each produce a completely different SHA-512 value, and none of them are visible.
- Comparing a hex digest with a Base64 one. They encode the same bytes differently, so they never look alike even when they match — switch the output format before deciding two values disagree.
- Comparing digests in mixed case and concluding they differ. Hex is case-insensitive; ABCDEF and abcdef are the same value.
- Using a plain SHA-512 digest where a secret is involved. To prove a message came from someone holding a key, you need HMAC, not hash(secret + message).
Frequently Asked Questions
Related Tools
Everything runs in your browser. Text and files are hashed locally — nothing is uploaded, logged or stored.