About this tool
A hash is a fixed-length fingerprint of your data, produced by a one-way function so the original text cannot be recovered. This generator computes SHA-1, SHA-256 and SHA-512 hashes right in your browser using the native Web Crypto API. Hashes are widely used for verifying file integrity, storing password fingerprints and generating checksums.
How to use
- 1Enter or paste your text.
- 2Choose the hash algorithm.
- 3Copy the generated hash.
Benefits
- SHA-1, SHA-256 and SHA-512.
- Uses the secure Web Crypto API.
- Runs privately in your browser.
Use a hash for integrity, not reversible encryption
Practical example
Two downloads with the same published SHA-256 digest are expected to contain identical bytes. A one-character text change produces a different digest, making accidental modification easy to detect.
Interpreting the result
Compare the complete digest from an independent trusted source. For password storage, use a dedicated slow salted password-hashing algorithm rather than a fast general SHA digest.
Limits and common mistakes
A matching hash proves byte equality with the compared value, not that the publisher or file is trustworthy. Hashing does not hide low-entropy secrets and cannot restore the original input.
Detailed guides for this tool
Learn the underlying concepts, worked examples and common mistakes before relying on the result.
Frequently asked questions
Can I reverse a hash?+
No. Hashing is one-way by design; you cannot recover the original text from the hash.
Which algorithm should I use?+
SHA-256 is the modern default. Avoid SHA-1 for security-critical uses as it is considered weak.