How to use Text Hash Generator
Hash a text value locally to get a hexadecimal digest for comparison or compatibility checks. Choose SHA-256, SHA-512, SHA-1 or MD5.
- Paste the exact text and select Algorithm.
- Generate and compare the result against a reference made from the same bytes and hash algorithm.
Example use
Check a digest from a test fixture and verify that the trailing newline was part of both inputs.
Output and compatibility
Hashing operates on UTF-8 text bytes. A space, line ending or different Unicode normalization form can change the digest. SHA-1 and MD5 are legacy compatibility options, and plain digests are unsuitable for password storage.
Troubleshooting
If a comparison fails, confirm the encoding, algorithm and whether a terminal newline differs. Use Unicode Inspector for look-alike characters.
Use HMAC Generator if your comparison requires a shared key as well as the message.
Frequently asked questions
Can this reverse a hash to the original text?
It runs a one-way hash on text you supply.
Can I hash a PDF or other file instead?
Use File Checksum Generator for exact file bytes.