Base64 Encoder & Decoder
Encode UTF-8 text as Base64 or decode a Base64 string into text.
DeveloperHash UTF-8 text to get a lowercase hexadecimal SHA-2 digest. Spaces, Unicode characters and line breaks are part of the input and can change the result.
Your result will appear here.
hello
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
SHA-256 produces a 256-bit digest, displayed as 64 hexadecimal characters. SHA-384 and SHA-512 produce 96 and 128 hexadecimal characters respectively.
Compare the algorithm, text encoding, and exact input. An extra newline or a different Unicode encoding changes the bytes being hashed.
SHA-256 has no decoding operation. To compare a known input with a digest, hash the input with the same algorithm and compare the outputs.