Tested tool guide
Tested browser tools
Checked August 16, 2026
What String Hash Generator does, with a checked example
Every text string, however long, reduces to a fixed-length fingerprint: 128 bits for MD5, 160 for SHA-1, 256 for SHA-256, 512 for SHA-512. Type or paste a string and this tool computes all four side by side as lowercase hex, so you can compare digests at a glance. The operation is one-way: a hash cannot be turned back into the text, and the same string always produces the same digest. The usual surprise is that a hash is not encryption - it is a fingerprint for comparison, and MD5 and SHA-1 are no longer collision-resistant enough for security use.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
MD5: 900150983cd24fb0d6963f7d28e17f72
SHA-1: a9993e364706816aba3e25717850c26c9cd0d89d
SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
SHA-512: ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
These are the standard test vectors published in the algorithm specifications, printed in lowercase hex: 32, 40, 64 and 128 characters for MD5, SHA-1, SHA-256 and SHA-512. Hash any other tool's output for 'abc' and it must match these values exactly.