Randomly

SHA-512 Hash Generator

Type or paste text and see its 128-character SHA-512 digest update with every keystroke.

Input

SHA-512 · 128 hex

512-bit

Type text in the input panel to see its hash.

SHA-512 produces a 512-bit digest. On 64-bit hardware it often runs faster than SHA-256 and gives a wider security margin.

Digest
512-bit
Output
128 hex

Related tools

Guides

Paste some text into this SHA-512 hash generator and the digest appears right away, 128 hex characters long. It recalculates on every keystroke, so you can watch it change.

SHA-512 is the widest member of the SHA-2 family. It works on 64-bit words, which is why it often runs faster than SHA-256 on 64-bit machines even though its output is twice as long.

Your browser does the hashing with its built-in Web Crypto API. Nothing you type is uploaded. If the page isn't loaded over HTTPS, that API is unavailable and you'll see a message saying so.

What you get from the SHA-512 hash generator

The input is encoded as UTF-8 and hashed with SHA-512. You get the digest as lowercase hex, the same format sha512sum prints. Identical input always gives an identical digest, and the smallest edit gives a completely different one.

  • It hashes text you type or paste. It can't open files.
  • The output label shows the bit length (512-bit) and length in hex (128).
  • Click the digest or press Copy digest to copy it.

How to use it

  1. Type or paste text into the input panel.
  2. Read the digest as it updates below.
  3. Copy it with one click.

When SHA-512 is handy

  • Getting a reference digest for a unit test that calls a SHA-512 library.
  • Checking that two strings are byte-for-byte identical without comparing them by eye.
  • Tracking down encoding bugs, like a stray BOM or a Windows line ending, when your code's digest doesn't match.
  • Seeing how SHA-512 output compares with the SHA-256 and SHA-384 tools linked on this page.

Example SHA-512 hash output

Hashing the five letters of hello, with no trailing newline, gives:

  • hello → 9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043

Frequently asked questions

What is SHA-512?

A SHA-2 hash function, specified in FIPS 180-4, that outputs a 512-bit digest written as 128 hex characters.

Is this SHA-512 hash generator free?

Yes. There's no sign-up, and the work happens in your browser.

My digest differs from the command line. Why?

Almost always a trailing newline. Plain echo adds one, so compare with echo -n or printf. Different line endings (CRLF vs LF) also change the result.

Is SHA-512 encryption?

No. Hashing is one-way and uses no key. You can't decrypt a SHA-512 digest.

Is SHA-512 stronger than SHA-256?

Both are considered secure today. SHA-512 has a longer output and a wider margin on paper, and on 64-bit hardware it's often the faster of the two.

Built and maintained by Bipul Kumar. Found a wrong number or a broken result? Tell me and I'll fix it.