How it works
Hash the UTF-8 bytes of your input and display the result as 64 lowercase hexadecimal characters. The calculation uses the browser's Web Crypto API.
The SHA-256 digest of abc begins with ba7816bf, the value given for this input in the SHA-256 standard, FIPS 180-2.
Input and output example
Input text
abc
Converted text
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015adDownload example result
How to use it
- Type or paste the text into Input text, or select Load an example.
- Select Convert.
- Select Copy result, or select Download to save the hash as converted.txt.
Settings and limits
- Input text Up to 5,242,880 characters.
Tips
Line breaks are hashed as LF (\n). The text box converts Windows CRLF line breaks to LF when you paste, so a file saved with CRLF endings has a different hash from the one shown here. Input is not trimmed, and Unicode characters are not normalized.
Limits
This tool hashes text, not files. To check a downloaded file, run sha256sum file.zip on Linux, shasum -a 256 file.zip on macOS, or certutil -hashfile file.zip SHA256 on Windows. A plain SHA-256 digest is not a safe way to store passwords.
Common questions
Why doesn't my hash match sha256sum?
sha256sum file.txt hashes every byte of the file, including the line break that many editors and the echo command add at the end. For a file that contains abc and a final line break, the hash starts with edeaaff3; for abc typed here, it starts with ba7816bf. Press Enter after the text to include the line break here, or run printf 'abc' | sha256sum to hash the text without one.