Legacy; use it only for compatibility, not in new sensitive scenarios.
Cryptographic Hash Generator (SHA-1, SHA-256, SHA-512)
Calculate text cryptographic digests instantly inside your browser.
- SHA-1, SHA-256, SHA-384, and SHA-512
- Hash recalculated on every change
- Lowercase hexadecimal output
- Character, byte, and line count
- One-click hash copy
Generate SHA hashes and compare results quickly
Type some content, choose the algorithm, and follow the hash in real time to check integrity, compare values, or document a process.
Type some content to generate the hash.
The hash will appear here once the input is valid.
The most common choice for integrity and current checks.
Intermediate version, with a longer output than SHA-256.
Longest output, for systems that require this format.
Fix the fields to generate the hash.
Check whether content changed without comparing it by hand
The hash generator is for anyone who needs a short, repeatable fingerprint of a text: developers, security students, and people checking data integrity.
- Compare two texts by their hash instead of reading line by line.
- Check a value published by another system from the same text.
- Study how SHA-1 and the SHA-2 family react to small changes.
How to generate a hash
- 1. Type or paste the content into the input field.
- 2. Choose the algorithm: SHA-1, SHA-256, SHA-384, or SHA-512.
- 3. Watch the hash, which is recalculated on every change.
- 4. Copy the result and compare it with the expected value.
Same text, same hash; one extra character, a different hash
The text is converted to UTF-8 bytes and processed by the browser's native cryptography. The result is shown in lowercase hexadecimal.
SHA-1
Produces 40 hexadecimal characters.
It is considered legacy: use it only for compatibility with older systems.
SHA-256
Produces 64 hexadecimal characters.
It is the tool's default and the most common choice in current checks.
SHA-384 and SHA-512
Produce 96 and 128 hexadecimal characters.
They offer longer outputs when the target system requires those formats.
SHA-256 of the word abc
With SHA-256 and the input abc, in lowercase and with no spaces or line break, the result is always the same.
abc
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
A trailing space or line break changes the hash completely. Check the input when values do not match.
A hash is not encryption
A hash is a one-way function: there is no button to get the original text back.
- MD5 and other algorithms outside the list are not available.
- The tool hashes text; it does not read files.
- A plain hash is not suitable for storing passwords: login systems use dedicated functions with salt and configurable cost.
Avoid real sensitive data
The calculation happens in the browser, but real passwords and tokens should not be pasted into any online tool when an example does the job.
Frequently asked questions
Is a hash reversible encryption?
No. A hash creates a fixed-size fingerprint and should not be used to hide text that must be recovered. Use security practices designed for the specific password or sensitive-data case.