SHA-384 Hash Generator
Make a SHA-384 hash of any text or file, check a file against its checksum, and create HMAC-SHA384 signatures. Everything runs in your browser.
All SHA hashes of this text
🔒 Everything runs in your browser. Your text, keys and files are never uploaded.
Free SHA-384 Hash Generator
This free SHA-384 hash generator gives you the SHA-384 hash of any text or file, in hex or Base64. Use it to make Subresource Integrity (SRI) hashes for scripts and stylesheets, to check a file against its SHA-384 checksum, or to create HMAC-SHA384 signatures with a secret key. The hash appears as you type, files of any size work, and everything runs in your browser, so nothing is uploaded.
What is SHA-384?
SHA-384 is a hash function from the SHA-2 family, defined by NIST in FIPS 180-4. It is built on SHA-512: it runs the same 80 rounds on 64-bit words, starts from different initial values, and keeps only the first 384 bits of the result. That gives 48 bytes, written as 96 hex characters or 64 Base64 characters. The SHA-384 hash of the word hello is:
59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f
Because part of the internal state is left out of the result, SHA-384 is not open to the length-extension trick that affects SHA-256 and SHA-512 when they are misused as a keyed hash. Its 384-bit length also gives a large security margin, which is why security standards for highly sensitive data ask for SHA-384, and why it is common in modern encrypted connections.
How to create a SHA-384 hash
- Check that SHA-384 is selected under Algorithm.
- Type or paste your text into the Text to hash box. The hash appears instantly.
- Choose a Hash format: lowercase hex, UPPERCASE hex or Base64.
- Click Copy hash.
How to make a Subresource Integrity (SRI) hash
Subresource Integrity lets a browser check that a script or stylesheet loaded from another server hasn’t been changed. You add an integrity attribute with the file’s hash, and the browser refuses to run the file if its hash is different. SHA-384 is the usual choice.
- Download the exact file your page will load, for example
app.min.js. - Open the Files tab, set Hash format to Base64 and drop the file in.
- Copy the Base64 hash and put
sha384-in front of it. - Add it to your tag, for example
integrity="sha384-..."together withcrossorigin="anonymous".
The file must be byte-for-byte the same as the one the server sends. If the server changes the file, or if you saved it with different line breaks, the hash won’t match and the browser blocks it.
How to check a file’s SHA-384 checksum
- Open the Files tab and drop one or more files. They are read in pieces, so large files work too.
- Paste the SHA-384 value you were given into Expected hash, in hex or Base64.
- A green Matches the expected hash label means the file is exactly as expected.
You can also drop a checksum list, such as SHA384SUMS or a .sha384 file, together with the files it lists. The tool picks SHA-384 by itself when the list holds 96-character hashes.
How to make an HMAC-SHA384 signature
- Turn on Use a secret key (HMAC).
- Enter the key and set Key is to match how it is written: text, hex or Base64.
- Type the message. The HMAC-SHA384 value appears below it.
HMAC-SHA384 is used to sign tokens and API requests. JSON Web Tokens use it in the HS384 algorithm.
Features
Hex and Base64 output
Switch between lowercase hex, UPPERCASE hex and Base64 at any time. Base64 is what SRI and many APIs expect, and it is shorter: 64 characters instead of 96.
Text, hex or Base64 input
Text is hashed as UTF-8. Choose Hex bytes or Base64 under Input is to hash raw bytes, such as a key or a binary value copied from a log.
Compare with a hash
Paste a hash, in hex or Base64, into Compare with a hash to check it. If it doesn’t match, the tool looks for the usual reasons, such as a missing or extra line break, spaces, Windows line breaks or a hash from a different SHA algorithm, and tells you which one it is.
One hash per line
Turn on Hash each line separately to hash a list, one SHA-384 hash per line, then copy it or download it as a text file.
All SHA hashes side by side
All SHA hashes of this text shows SHA-1, SHA-224, SHA-256 and SHA-512 of the same text, each ready to copy.
SHA-384 vs. SHA-256 vs. SHA-512
- SHA-256: 256 bits, 64 hex characters. The most common choice for checksums and certificates.
- SHA-384: 384 bits, 96 hex characters. SHA-512 shortened, with protection against length extension. Common for SRI and strong encryption settings.
- SHA-512: 512 bits, 128 hex characters. The longest hash in the family.
All three are secure today. Pick the one the system you work with asks for. You can switch with one click under Algorithm and your text and files are hashed again right away.
Why doesn’t my SHA-384 hash match?
Hashes change with every byte, so check for differences you can’t see: a line break at the end, spaces at the start or end, Windows line breaks (CRLF), or a hash in another format. For SRI, make sure you hashed the exact file the server sends, and that you used Base64, not hex. Paste the expected value into Compare with a hash and the tool checks the common causes for you.
Is it private?
Yes. The SHA-384 hash generator runs entirely in your browser. Your text, keys and files are hashed on your own device and never sent anywhere. The tool remembers settings such as the hash format, never your text, keys or files.
Frequently asked questions
Is this SHA-384 hash generator free?
Yes. It’s free, with no sign-up and no limits on text or file size.
How long is a SHA-384 hash?
A SHA-384 hash is 384 bits, or 48 bytes. That’s 96 characters in hex and 64 characters in Base64.
How do I generate an SRI hash with SHA-384?
Open the Files tab, set Hash format to Base64 and drop in the exact script or stylesheet file. Copy the hash and put sha384- in front of it, then use that as the integrity value of your script or link tag.
Is SHA-384 the same as SHA-512?
It uses the same calculation as SHA-512 but starts from different initial values and keeps only the first 384 bits. So the SHA-384 hash is not simply the first 96 characters of the SHA-512 hash.
Is SHA-384 secure?
Yes. There is no known practical attack on SHA-384. It has a large security margin and isn’t affected by length-extension attacks.
Can a SHA-384 hash be reversed?
No. SHA-384 is a one-way function, so the original text can’t be calculated from the hash. Short or common inputs can still be found by guessing.
What is HMAC-SHA384?
HMAC-SHA384 is a signature made by hashing a message together with a secret key. It proves the message comes from someone with the key and wasn’t changed. Turn on Use a secret key (HMAC) to create one.
Are my text and files uploaded?
No. All hashing happens in your browser, and nothing you enter or drop in leaves your device.
