Hash Generator
Generate SHA-256, SHA-1, SHA-512 hashes.
SHA-256 hash
The hash will appear here.
How to use it
- Choose the hash algorithm.
- Type or paste your text.
- 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
Input
abc with SHA-256Output
ba7816bf...f20015adInput
The same text with SHA-512Output
A longer 128 character hashCommon 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
Developer
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolDeveloper
Base64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolDeveloper
Password Generator
Generate strong random passwords with length and character options.
Open toolDeveloper
UUID Generator
Generate v4 UUIDs in bulk.
Open toolDeveloper
URL Encoder and Decoder
URL-encode or decode percent-encoded strings.
Open toolEmbed 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.