Hash Generator

Generate SHA-256, SHA-1, SHA-512 hashes.

hash-generator.local
SHA-256 hash
The hash will appear here.

How to use it

  1. Choose the hash algorithm.
  2. Type or paste your text.
  3. Copy the hexadecimal hash.

About this tool

The hash generator computes a cryptographic hash of your text using the browser Web Crypto API and shows it as hexadecimal. SHA-256 and SHA-512 are current choices, while SHA-1 is included for legacy checks and should not be used for security since it is considered broken. Hashing is one way, so a hash cannot be turned back into the original text.

Examples

Inputabc with SHA-256
Outputba7816bf...f20015ad
InputThe same text with SHA-512
OutputA longer 128 character hash

Common uses

  • Fingerprint a string or piece of content
  • Verify that data has not changed
  • Generate a checksum
  • Compare two values by hash

FAQ

Is my text uploaded?
No. The hash is computed in your browser with Web Crypto. Nothing is sent anywhere.
Can I reverse a hash?
No. Hashing is one way by design, so the original text cannot be recovered from the hash.
Should I use SHA-1?
Only for compatibility with old systems. It is considered broken for security, so prefer SHA-256 or SHA-512.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/hash-generator/" title="Hash Generator by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/hash-generator/" target="_blank" rel="noopener">Hash Generator</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>