DevTool Desk

Hash Generator

MD5—
SHA-1—
SHA-256—
SHA-512—

Generate MD5, SHA1, SHA256 and SHA512 hashes (also written SHA-1, SHA-256 and SHA-512) for text or a file, all at once. It's commonly used to verify file integrity: paste a published checksum into the compare field to instantly check whether it matches. Hashing runs entirely in your browser via the Web Crypto API; nothing is uploaded.

Frequently asked questions

Is MD5 or SHA-1 safe to use for security?

No — both are cryptographically broken and shouldn't be used for passwords, signatures, or anything security-sensitive. They're included here because they're still widely used for non-security purposes like file integrity checks and cache keys.

How do I verify a downloaded file's checksum?

Switch to File input, drop the downloaded file in, then paste the checksum published by the file's source into the compare field. A match confirms the file wasn't corrupted or tampered with in transit.

Does the compare field care about which algorithm I used?

No — it checks the pasted value against all four computed hashes at once, so you don't need to know which algorithm the published checksum uses.

How do I generate a SHA256 hash of a file?

Switch to File input and drop the file in. Its SHA256 hash appears next to the MD5, SHA1 and SHA512 hashes. Nothing is uploaded, so it's safe to use on private files.

What's the difference between MD5, SHA1, SHA256 and SHA512?

They differ in output length and strength: MD5 gives a 128-bit hash, SHA1 160-bit, SHA256 256-bit and SHA512 512-bit. MD5 and SHA1 are broken for security use, so choose SHA256 or SHA512 when collision resistance matters.

Can I use this as a hash checker?

Yes. Paste the expected hash into the compare field and it tells you whether it matches the MD5, SHA1, SHA256 or SHA512 of your text or file.