How to generate a SHA-256 text hash and reproduce it
Choose a SHA algorithm, check a known text example, and find whitespace or encoding differences when digests disagree.
Open the toolConfirm that you need a text digest
A hash digest is a fixed-length result calculated from input data. Kervoni’s SHA Hash Generator takes text, converts it to UTF-8 bytes and returns a hexadecimal digest. Its choices are SHA-256, SHA-384 and SHA-512. It does not read a selected file, add a salt, calculate HMAC, or provide a password-storage workflow. If the instructions you are following require any of those operations, this text-only tool is not the matching procedure. A digest also does not provide a button for recovering the original text.
Calculate the SHA-256 example exactly
Open the SHA Hash Generator, select SHA-256 in Algorithm, and put abc into Input. Use lowercase letters, no quotes and no trailing newline. Select Apply. The result should be ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. This 64-character hexadecimal value is a useful check that you selected the intended algorithm and entered the intended sample. Copy the complete result rather than a shortened visual excerpt. Changing the text or algorithm clears the previous output.
Keep algorithm and output format together
The same text must be hashed with the same algorithm for a meaningful comparison. This tool displays SHA-256 as 64 hexadecimal characters, SHA-384 as 96 and SHA-512 as 128. Those are different digest choices, not different amounts of your original text. A system may instead display digest bytes as Base64; that representation cannot be compared directly with the hexadecimal string shown here. Record which algorithm and representation the receiving system expects before deciding that two outputs disagree.
Investigate invisible input differences
For an exact-text comparison, an added space, a final line break, different letter case or a different Unicode representation can change the digest. The tool does not automatically trim the text or normalise accented letters before hashing. The character é stored as one code point and an e followed by a combining acute accent have different UTF-8 bytes. If two apparently identical snippets disagree, compare the original characters and line endings. Hashing pasted text is not a substitute for computing the raw bytes of a downloaded file.
Save enough context to repeat the check
Use Copy or Download text for the result, and separately note the algorithm and exact input convention you used. The downloaded text contains the displayed digest; it is not an encrypted copy of the input. The calculation runs in your browser, using its cryptographic API, without uploading the text. A matching digest can help compare data, but this page does not independently establish who supplied that data. Use the comparison within the verification process required by your source rather than treating a copied hash as proof of authorship.
Sources
Updated:
Try it in the tool →