Hash Generator
Calculate SHA-256, SHA-384 or SHA-512 digests of text or local files.
Input & settings
Selected file takes precedence over text. Files are read locally into memory.
Results
Hexadecimal digest
Cryptographic hashes cannot be reversed. This is not a password hashing tool. MD5 is not offered and is not suitable for security-sensitive uses.
What this tool does
Hash Generator computes a SHA-256, SHA-384 or SHA-512 digest with the browser’s Web Crypto API. You can hash typed text or a file you select. The file is read in this browser and is not uploaded. This page does not calculate MD5. MD5 is not suitable for security-sensitive uses, and it is not a password-hashing function.
How to use it
- Type text, or choose a local file. A selected file is used instead of the text.
- Choose SHA-256, SHA-384 or SHA-512.
- Generate the hash and copy the hexadecimal digest.
Practical example
The SHA-256 digest of the text “LINEZOVA” is a 64-character hexadecimal string. Changing one character changes the digest.
Tips
A hash cannot be turned back into the original text. Large files are read entirely into memory and may be slow. Web Crypto needs a secure page, such as HTTPS or localhost.
Questions
Which algorithms are supported?
SHA-256, SHA-384 and SHA-512 only.
Can I calculate MD5 here?
No. MD5 is not offered. It is not suitable when you need a modern security digest.
Is this a password hash?
No. These digests are fast checksums, not a password key-derivation function.
Does the file leave my browser?
No. The file bytes are hashed locally.
What if both text and a file are present?
The selected file is hashed and the text box is ignored.