# SHA-512 Hash & File Checksum

Calculate SHA-512 for UTF-8 text or local files, compare a full 128-character checksum and copy the result. Includes an abc test vector and file verification tips.

Calculate

Input 0 characters

Expected checksum (optional)

Result

Your result will appear here.

## How to calculate and compare SHA-512

1. Enter text or select a local file; the selected file takes priority.
2. Paste only the expected SHA-512 digest if you want to compare a checksum.
3. Calculate and check the result, then copy or download all 128 characters.

## Working with SHA-512 Hash & File Checksum

SHA-512 produces a 512-bit digest shown as 128 hexadecimal characters. Changing a file’s contents changes its digest. The filename is not included in the calculation.

## SHA-512 example: the standard abc test vector

Input

`abc`

Result

`ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f`

## Questions about SHA-512 Hash & File Checksum

**Why is a SHA-512 result 128 characters long?**

SHA-512 produces a 512-bit digest, represented here by 128 lowercase hexadecimal characters, including leading zeros. Text uses UTF-8; files use their exact bytes. Browser processing is limited to 8 MiB of text or 32 MiB per file.

**Is SHA-512/256 just a shortened SHA-512?**

No. SHA-512/256 uses different initial values, so its result is not simply the first 64 hexadecimal characters of a SHA-512 digest. SHA-384 and SHA3-512 are also separate algorithms. This page calculates full SHA-512; use the SHA-256 tool if that is the algorithm your source specifies.

**How do I check a file, and why might the hashes differ?**

Select the file and paste only the expected hash, without its filename or SHA512: prefix. Comparison ignores letter case and surrounding whitespace. The actual input is not trimmed or normalized: spaces, CRLF versus LF, a final newline, UTF-8 BOM and Unicode representation can change the digest. File names and paths are excluded.

**Does a matching SHA-512 prove authenticity? Can it be decrypted?**

A match helps check integrity only if the expected digest comes from a trusted source. Plain SHA-512 does not authenticate the sender or verify a digital signature, and it is not reversible encryption. Use HMAC-SHA-512 in the HMAC tool for keyed message authentication and a dedicated scheme such as Argon2id for password storage.

**Are my files, tokens or text uploaded?**

No. These tools process your input in your browser. The website serves the page and its code, but your input is not sent to a conversion server or saved in an account.

## Related tools for your next step

- [SHA-256 Hash & File Checksum](<https://utilities.linxi.com.au/developer-tools/sha256/>)
   
   Generate SHA-256 hashes for text or files and check a downloaded file against its published checksum.
- [HMAC Generator](<https://utilities.linxi.com.au/developer-tools/hmac/>)
   
   Generate HMAC-SHA-1, HMAC-SHA-256 and HMAC-SHA-512 with a UTF-8 or hexadecimal secret key.
- [SHA-1 Hash & File Checksum](<https://utilities.linxi.com.au/developer-tools/sha1/>)
   
   Calculate SHA-1 hashes for UTF-8 text or files and compare the result with an expected checksum.

## Explore all developer tools

## Encoding & Files

Move between text, bytes, URLs and embedded images without changing your original data.

[### Base64 Encoder & Decoder Encode UTF-8 text to Base64 or decode standard and URL-safe Base64. Control padding and line wrapping.](<https://utilities.linxi.com.au/developer-tools/base64/>) [### Base64URL Encoder & Decoder Convert text to URL-safe Base64 with the - and \_ alphabet. Encode or decode unpadded Base64URL strings.](<https://utilities.linxi.com.au/developer-tools/base64url/>) [### Image to Base64 Convert PNG, JPEG, GIF, WebP, SVG and other recognised image files to Base64 Data URIs in your browser.](<https://utilities.linxi.com.au/developer-tools/image-to-base64/>) [### Base64 to Image Decode a Base64 image or Data URI, preview supported image types and download the original image bytes.](<https://utilities.linxi.com.au/developer-tools/base64-to-image/>) [### File to Base64 Encode any file to a Base64 string, with optional Data URI prefix, padding and MIME line wrapping.](<https://utilities.linxi.com.au/developer-tools/file-to-base64/>) [### Base64 to File Turn Base64 strings and Data URIs back into downloadable files without changing the decoded binary data.](<https://utilities.linxi.com.au/developer-tools/base64-to-file/>) [### URL Encoder & Decoder Encode and decode URL components, complete URLs and form values. Handle percent escapes and spaces correctly.](<https://utilities.linxi.com.au/developer-tools/url-encoder/>) [### HTML Entity Encoder & Decoder Convert text and Unicode characters to HTML entities, or decode named and numeric HTML character references.](<https://utilities.linxi.com.au/developer-tools/html-entities/>) [### Unicode Inspector & Escape Converter Inspect Unicode code points, UTF-8 bytes and UTF-16 units, or convert JavaScript Unicode escapes to readable text.](<https://utilities.linxi.com.au/developer-tools/unicode/>)

## Data & Text Inspection

Read structured data, inspect tokens and understand exactly what changed.

[### JSON Formatter, Minifier & Validator Format, minify and validate JSON with exact large-number preservation, indentation options and recursive key sorting.](<https://utilities.linxi.com.au/developer-tools/json-formatter/>) [### JWT Decoder Read JWT headers and payloads, inspect expiry and activation times, and view claims without sending your token anywhere.](<https://utilities.linxi.com.au/developer-tools/jwt-decoder/>) [### Text Diff Checker Compare two texts by line, word or character. Highlight additions and removals while retaining spaces and line breaks.](<https://utilities.linxi.com.au/developer-tools/diff-checker/>) [### Regular Expression Tester Test JavaScript regular expressions with flags, match positions, capture groups and named groups in your browser.](<https://utilities.linxi.com.au/developer-tools/regex-tester/>)

## Hashes, IDs & Schedules

Check file integrity, generate identifiers and make sense of times and recurring schedules.

[### MD5 Hash & File Checksum Calculate an MD5 hash for text or a local file, and compare it with an expected checksum.](<https://utilities.linxi.com.au/developer-tools/md5/>) [### SHA-1 Hash & File Checksum Calculate SHA-1 hashes for UTF-8 text or files and compare the result with an expected checksum.](<https://utilities.linxi.com.au/developer-tools/sha1/>) [### SHA-256 Hash & File Checksum Generate SHA-256 hashes for text or files and check a downloaded file against its published checksum.](<https://utilities.linxi.com.au/developer-tools/sha256/>) [### CRC32 Checksum Calculator Calculate standard CRC-32 checksums for text or files and compare eight-character hexadecimal results.](<https://utilities.linxi.com.au/developer-tools/crc32/>) [### HMAC Generator Generate HMAC-SHA-1, HMAC-SHA-256 and HMAC-SHA-512 with a UTF-8 or hexadecimal secret key.](<https://utilities.linxi.com.au/developer-tools/hmac/>) [### UUID & GUID Generator Generate random UUID v4 or time-ordered UUID v7 identifiers, individually or in batches.](<https://utilities.linxi.com.au/developer-tools/uuid-generator/>) [### Unix Timestamp Converter Convert Unix seconds, milliseconds and ISO 8601 dates. View the same instant in UTC and any IANA time zone.](<https://utilities.linxi.com.au/developer-tools/timestamp-converter/>) [### Cron Expression Parser Validate five- or six-field Cron expressions and list upcoming runs in an IANA time zone, including daylight-saving changes.](<https://utilities.linxi.com.au/developer-tools/cron-parser/>) [### Cron Expression Generator Build a Cron expression from time fields or common presets, then preview its next scheduled times in your chosen zone.](<https://utilities.linxi.com.au/developer-tools/cron-generator/>)

Your input and files are processed on your device. Keep sensitive results out of shared clipboards and use a trusted device for private keys and tokens.

<https://utilities.linxi.com.au/developer-tools/sha512/>
