Hash text or files with MD5, SHA-1, SHA-256 or SHA-512 as you type, create HMAC signatures, and check a download against its published digest.
Initializing in your browser…
Check a download against its published SHA-256 or MD5 checksum, verify a whole SHA256SUMS file, compare two files or find duplicates, all in your browser.
Generate colour palettes from one base colour, with tints and shades, contrast and colour-blindness checks, and CSS, Tailwind or JSON export.
Make QR codes for links, Wi-Fi, contacts, events and payments as you type, check that each one scans, and download it as PNG or SVG.
Before relying on a digest to detect changes, you want to see how much it moves when the input barely changes.
Two inputs, one character apart
The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog.
Digests (hex)
Without the full stop
MD5 9e107d9d372bb6826bd81d3542a419d6
SHA-256 d7a8fbb307d7809469ca9abcb0082e4f
8d5651e46d3cdb762d02d0bf37c9e592
With the full stop
MD5 e4d909c290d0fb1ca068ffaddf22cbd0
SHA-256 ef537f25c895bfa782526529a9b63d97
aa631564d5d789c2b765448c8635fb6cOne extra byte, 44 instead of 43, and both digests change completely. Nothing in the second pair hints at how close the inputs were, which is the property that lets a matching digest stand in for comparing two files byte by byte. MD5 catches an accidental change like this as well as SHA-256 does. The difference shows up against an attacker: two different inputs that share an MD5 can be manufactured on an ordinary computer, while nobody has found two that share a SHA-256.
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests of any text or file, compute an HMAC with a secret key, or check a download against the digest its publisher lists. Everything is hashed in your browser as you type, and every result copies with one click.
A hash function turns any input into a short, fixed-length fingerprint. The same bytes always produce the same digest, and changing a single character changes roughly half of the output bits, so two digests are either identical or plainly different. That is why hashes are the standard way to confirm a file arrived intact, to find duplicates, and to build signatures and message authentication codes.
Not every algorithm is still safe for every job. MD5 and SHA-1 can both be made to collide on purpose: the first MD5 collision was published in 2004, and in 2017 researchers released two different PDF files with the same SHA-1. Both remain fine for catching accidental corruption and for working with older systems, and the tool labels them so you do not pick them by mistake. SHA-256 is the sensible default for anything new. SHA-384 and SHA-512 give longer digests from the same family, and SHA-512 is often faster on 64-bit machines. The CRC and Adler checksums under More options are not cryptographic at all; they catch transmission errors, but anyone can forge a match.
Text is hashed as UTF-8, the encoding almost every system uses, and the counter under the input shows the byte count, since an accented letter or an emoji takes more than one byte. Line endings count too. A file saved on Windows ends each line with two bytes where a Mac or Linux file uses one, so the same visible text can give different digests. When a digest from another program does not match, a trailing newline or a CRLF is the usual cause.
Files are read on your device and never uploaded. MD5 and the checksums are computed a chunk at a time, so size is not a concern. The SHA family uses the browser's built-in implementation for files up to 1 GB and a chunked method above that, which is slower but works on files too large to load in one piece. A progress bar with a Cancel button appears while a large file is read, and ticking another algorithm afterwards only reads the file again for that one.
HMAC mixes a secret key into the hash, which is how webhook signatures and many API request signatures are made. The key can be typed as plain text, hex or base64. A hex or base64 secret is decoded to its bytes first, as most servers do, and getting that step wrong is the most common reason a computed signature does not match. Verify mode accepts a published digest in almost any form, including base64, hex with spaces or colons, or a whole line from a SHA256SUMS file, and works out from its length which algorithms could have produced it.
Add the file in Verify mode and paste the SHA-256 from the vendor's download page. A match means you have exactly the bytes they published, not a truncated or tampered copy.
Services such as GitHub, Stripe and Slack sign each payload with HMAC-SHA256. Paste the raw body and the signing secret to see the signature you should be computing, and compare it with the header you received.
Two files with the same SHA-256 have the same contents, whatever their names or dates. Hash both and compare the digests instead of opening them.
Hash a configuration string or a file to get a stable identifier that changes whenever the content does, in hex or base64 depending on where it will be used.
SHA-256 for almost anything new: file checksums, fingerprints and HMAC signatures. Use MD5 or SHA-1 only when another system requires them. Use SHA-384 or SHA-512 if a standard you follow asks for a longer digest.
No. A digest does not contain the input. Short or common inputs can still be guessed by hashing candidates until one matches, which is why passwords must be stored with a slow, salted function such as bcrypt or Argon2 rather than plain SHA-256.
Because the bytes differ, even if the text looks the same. The usual culprits are a trailing newline (the echo command adds one), Windows line endings, a byte order mark at the start of a file, or a different text encoding. Hash the file itself rather than copied text when you need an exact comparison.
Anyone can compute a plain hash, so it proves that data has not changed by accident. An HMAC also needs a secret key, so a matching HMAC shows the message came from someone who holds that key. That is what webhook and API signatures rely on.
In practice, any size your device can read. Files are processed in chunks, and the SHA algorithms switch to a slower chunked method above 1 GB. Speed depends on your device; a progress bar shows how far along it is.
Yes. Hashing happens in your browser and nothing is sent to a server. The share button creates a link that holds only the mode, algorithms and output format.
Many systems still publish or expect MD5, and it remains good at catching accidental damage. What it cannot do is resist someone who deliberately crafts two files with the same digest, so it is marked as broken for collisions.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.