Skip to main content
Screendesk
Free tool

Hash Generator & Checksum Calculator

MD5, SHA-1, SHA-256, SHA-384 and SHA-512 for text or files, with HMAC and checksum comparison. Files stay on your device.

Open source on GitHub

Text

0 bytes (UTF-8). A trailing newline or space changes the hash.

Hashes

Hashes appear here as you type.

Runs entirely in your browser. Nothing you paste here is uploaded or stored.

Reference

Which hash should you use? Output size and security status of each algorithm.

Hash algorithms
AlgorithmOutputUse it for
MD5128 bits, 32 hex charsBroken: collisions can be made on a laptop. Still used for cache keys, ETags and spotting accidental corruption.
SHA-1160 bits, 40 hex charsPractical collisions since 2017. Git object IDs historically use it; avoid it for signatures.
SHA-256256 bits, 64 hex charsThe standard choice for download checksums, code signing, and JWT HS256/RS256 signatures.
SHA-384384 bits, 96 hex charsCommon in Subresource Integrity (integrity="sha384-…") and TLS cipher suites.
SHA-512512 bits, 128 hex charsSame family as SHA-256 with a larger state; often faster on 64-bit machines.
Test vectors

Known hashes to check against. Plus the command-line equivalents.

MD5 and SHA-256 test vectors
InputMD5SHA-256
"" (empty)d41d8cd98f00b204e9800998ecf8427ee3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
"abc"900150983cd24fb0d6963f7d28e17f72ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
"The quick brown fox jumps over the lazy dog"9e107d9d372bb6826bd81d3542a419d6d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
Checksum commands by operating system
SystemSHA-256MD5
macOSshasum -a 256 file.zipmd5 file.zip
Linuxsha256sum file.zipmd5sum file.zip
Windows PowerShellGet-FileHash file.zip -Algorithm SHA256Get-FileHash file.zip -Algorithm MD5
FAQ

Frequently asked questions

How do I verify a SHA-256 checksum?

Switch the input to File, choose the file you downloaded, and paste the checksum from the publisher into Compare with expected checksum. A green Match badge means the file is byte-for-byte identical to the one that was published. Output from sha256sum, including the filename after the hash, is accepted as is.

How do I generate an MD5 hash?

Type or paste text and the MD5 hash appears instantly alongside SHA-1, SHA-256, SHA-384 and SHA-512. Text is hashed as UTF-8 bytes, so a trailing space or newline produces a completely different hash. MD5 is implemented in JavaScript because browsers do not offer it natively.

What is HMAC and when do I need it?

HMAC combines a secret key with a hash function so only someone with the key can produce the same value. Webhook providers use HMAC-SHA256 to sign payloads; turn on HMAC, enter the signing secret and the raw request body, and compare the result with the signature header to debug a failing webhook.

Can MD5 or SHA-1 be used for passwords?

No. Plain hashes are fast by design, which makes guessing passwords cheap, and MD5 and SHA-1 are also broken against collisions. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.

Is my file uploaded?

No. Files are read into memory and hashed in your browser with the WebCrypto API, up to 512 MB. Nothing is sent to a server, so it is safe for internal builds and logs.

Customer support runs on Screendesk.

Start for free