Hash the text.
Compare the result.
Create a SHA-256, SHA-384, or SHA-512 digest from text using the browser's Web Crypto API.
How do I generate a hash? Type or paste text and pick MD5, SHA-1, or SHA-256; the hash computes locally in your browser.
SHA hash generator
Hashing is one-way: a digest can help compare data, but it does not encrypt the original text.
How to generate a hash (SHA-256)
- Paste text or drop a file — hashing is local.
- Pick the algorithm — SHA-256 for integrity; MD5/SHA-1 for legacy comparisons.
- Copy the digest — lowercase hex, ready to compare against a published checksum.
Where hashes earn their keep
- Verifying a download against the vendor’s published checksum
- Producing checksums for your own release files
- Checking whether two files are byte-identical
Good to know
SHA-256 is the modern standard for integrity checks. MD5 and SHA-1 are cryptographically broken for security purposes but still fine for quick duplicate detection. A hash proves the files match — it says nothing about whether the file is safe to run. Related: password generator for secrets (where unpredictability, not comparison, is the point).
Which algorithm should I use?
SHA-256 is a common general-purpose choice. SHA-384 and SHA-512 produce longer digests when your system requires them.
Does this support MD5?
This page uses the browser's native Web Crypto algorithms and does not include MD5.