MD5/SHA256 Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 digests of text. Compare exact strings, including whitespace and line breaks, when reproducing a result.
Real-time Results
MD5 Hash Output
Message Digest Algorithm 5 (128-bit)
97174abb3003ea0a5fd76cb6f831b2ab
SHA-1 Hash Output
Secure Hash Algorithm 1 (160-bit)
50574f8639340df5289bddce26f7a3f950f3dd7f
SHA-256 Hash Output
Secure Hash Algorithm 2 (256-bit)
647b72f17147e39dffa4edbbdcf7024e99cc9502159598903f1c98736412401e
SHA-512 Hash Output
Secure Hash Algorithm 2 (512-bit)
4d9fbfeec75d4f000194dab19f6405cb688065697a92253f2833cfd99ff00c7c577e2939d83705f5caef0b8c6285702724cef18a279587e1b51efd735cec47d6
Why Choose MD5/SHA256 Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 digests of text. Compare exact strings, including whitespace and line breaks, when reproducing a result.
How to Calculate
- 1Enter the exact text to hash, including any intentional whitespace.
- 2Read the digest for the algorithm you need; SHA-256 of abc begins ba7816bf8f01cfea.
- 3Copy the full digest and compare it against a result produced with the same input encoding.
Frequently Asked Questions (FAQ)
Can a hash be decoded?
A hash is not reversible encoding. It maps input to a fixed-length digest. Matching a digest does not reveal the original text.
Should I use MD5 or SHA-1 for new security features?
No. Their collision resistance is broken. SHA-256 and SHA-512 are stronger choices for appropriate hash applications, but plain hashes alone are not suitable password storage.
Why do my digests differ?
A trailing newline, an extra space or a different character encoding changes the bytes being hashed. This text tool uses the library’s UTF-8 text encoding.
Authoritative References & Sources
NIST — Secure Hash Standard
View SourceRelated Calculators
More calculators selected by category and topic.
