What this tool does
Compute a text digest with MD5, SHA-1, SHA-256 or SHA-512. SHA algorithms encode the entered string as UTF-8 and call the browser Web Crypto digest API. MD5 uses the component’s local implementation. A digest identifies the exact input bytes; even a newline or different Unicode sequence can change it.
How to use Hash Generator
- Prepare the input. Enter the exact text, including any intended whitespace.
- Run or configure the tool. Choose the digest algorithm and select Generate Hash.
- Check and use the output. Compare like-for-like encoding and algorithm before relying on the result.
How this tool works
SHA algorithms encode the entered string as UTF-8 and call the browser Web Crypto digest API. MD5 uses the component’s local implementation. A digest identifies the exact input bytes; even a newline or different Unicode sequence can change it.
Worked example
Input: SHA-256; text abc
Output: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Limits, assumptions and interpretation
Hashing is not encryption and cannot restore the original text.
- MD5 and SHA-1 are unsuitable where collision resistance is required; choose an appropriate modern protocol.
- A plain fast digest is not a password-storage scheme or an authenticated signature.
- Web Crypto SHA operations require a supported secure context; hashing very large text runs in browser memory.
Supported inputs and limits
- SHA-256; text abc
- Hashing is not encryption and cannot restore the original text.
- MD5 and SHA-1 are unsuitable where collision resistance is required; choose an appropriate modern protocol.
- A plain fast digest is not a password-storage scheme or an authenticated signature.
- Web Crypto SHA operations require a supported secure context; hashing very large text runs in browser memory.
Sources and specifications
Frequently asked questions
What does this tool actually do?
SHA algorithms encode the entered string as UTF-8 and call the browser Web Crypto digest API. MD5 uses the component’s local implementation. A digest identifies the exact input bytes; even a newline or different Unicode sequence can change it.
What should I check before using the result?
Hashing is not encryption and cannot restore the original text. MD5 and SHA-1 are unsuitable where collision resistance is required; choose an appropriate modern protocol. A plain fast digest is not a password-storage scheme or an authenticated signature. Web Crypto SHA operations require a supported secure context; hashing very large text runs in browser memory.
Is information sent to a server?
Tool inputs are processed in this browser. This product does not use analytics or send your input to an external API. Clicking an external website link still visits that website.