Skip to content

SHA-512 hash generator

SHA-512 of any text or file, computed on your device.

Runs in your browser — files never leave your device
Text to hash
SHA-512—
MD5—
SHA-1—
SHA-256—
SHA-384—

Generate SHA-512 and SHA-384 hashes

SHA-512 produces the longest digest in the SHA-2 family: 512 bits, 128 hex characters. Some Linux distributions and package registries publish it as their checksum, and npm's lockfile integrity fields use it (Base64-encoded). Text or files are hashed with your browser's WebCrypto, locally; SHA-384, which is SHA-512 truncated with different starting values, is shown in the row above.

SHA-512 or SHA-256?

Both are secure, with no known practical attack. The differences are practical: SHA-512 works on 64-bit words, so on 64-bit processors without SHA-256 hardware instructions it is often faster than SHA-256. Its longer digest is harder to compare by eye. And SHA-384 and SHA-512/256 — truncated variants — are immune to length-extension attacks, which plain SHA-256 and SHA-512 are not.

None of them should store passwords: they are built for speed, and speed helps an attacker guess. Use Argon2id, scrypt or bcrypt for that.

Other conversions with this tool

How to generate a SHA-512 hash

  1. 1

    Type or paste text, or pick a file.

  2. 2

    The SHA-512 hash appears in the highlighted row.

  3. 3

    Copy it with one click.

SHA-512 Generator — frequently asked questions

Is my file uploaded anywhere?

No. The conversion runs in your browser, and this site has no server that could receive your file. A Content-Security-Policy blocks requests to other domains; you can confirm in DevTools → Network or by going offline.

Is SHA-512 more secure than SHA-256?

Both have no known practical attack. SHA-512 has a larger security margin and a 128-character digest; SHA-256 is the more common default.

Should I use SHA-512 for passwords?

No. It is designed to be fast, which helps attackers guess. Store passwords with Argon2id, scrypt or bcrypt.

SHA-512 Generator guides