Hash Generator

MD5, SHA-1, SHA-256, and SHA-512 for text or a file checksum, all in your browser.

Runs in your browserNo sign-up required

Text Hashing and File Checksums, in One Tool

SHA-256 and SHA-512 run through the browser's native Web Crypto API; MD5, which isn't part of that API, is implemented directly for legacy checksum needs. Switch to File Checksum mode to hash an actual file's contents — the standard way to confirm a download hasn't been corrupted or tampered with against a publisher's posted hash.

Useful for: developers verifying file integrity, security-conscious users checking a download against a publisher's checksum, and students learning how hashing actually works.

How to Use This Tool

  1. 1Choose Text or File Checksum modeHash typed text, or hash the actual contents of an uploaded file.
  2. 2Type or uploadEvery algorithm updates live as you type, or as soon as a file finishes hashing.
  3. 3Compare or copyCopy any individual hash to compare against a published checksum.

Good to Know

  • MD5 and SHA-1 are both considered cryptographically broken for security purposes (collisions are practical to produce) — they're included here for legacy checksum compatibility, not for anything security-sensitive.
  • SHA-256 and SHA-512 are computed using the browser's native Web Crypto API, the same implementation used by HTTPS and other browser security features.
  • File checksum mode hashes the file's actual byte content, useful for verifying a download matches a publisher's published hash exactly — even a single changed byte produces a completely different hash.
  • Nothing is uploaded — text and files are hashed entirely on your device.

Frequently Asked Questions

Why does the hash change completely for a tiny text change?

This is the "avalanche effect" — a core property of a good hash function. Even a one-character change should produce a completely unrelated-looking hash, which is exactly what makes checksums useful for detecting any corruption or tampering, however small.

Is MD5 safe to use?

Not for anything security-sensitive (passwords, digital signatures) — practical collision attacks exist. It's still fine for basic file-integrity checksums where nobody is actively trying to forge a matching file.

Can I hash a large file?

Yes — the file is read and hashed in your browser using its actual byte content, limited only by your device's available memory rather than any limit set by this tool.

Is this free to use?

Yes, completely free, with no file-size or usage limit imposed by the tool itself.