Hash Generator

Type or paste text and get its hash in six algorithms at once. Everything is computed locally in your browser.

How it works

A hash function maps input of any length to a fixed-size string of hex digits. The SHA family is computed with the browser's built-in Web Crypto API; MD5 and CRC32 are small built-in implementations, so no library is loaded.

  • SHA-256 / SHA-512 — cryptographically secure. Used for checksums, signatures and password storage (with a salt).
  • SHA-1 / MD5 — broken for security purposes, but still used for non-adversarial checksums and legacy systems.
  • CRC32 — not a security hash. A fast error-detection code used in file formats and network protocols.

Hashing is one-way: you can check that two inputs match, but you cannot get the original text back from a digest.

Frequently asked questions

Why do my hashes differ from another tool?

Most likely the input bytes differ. This tool hashes the exact characters you type, encoded as UTF-8. A trailing newline, a different encoding or extra whitespace changes every digest.

Can I hash a file?

Yes — copy the file's text content here, or for binary files use your operating system's built-in tool (shasum, certutil orGet-FileHash), since binary data doesn't survive a text box.

Is MD5 safe to use?

Not for security. Collisions can be generated on purpose, so MD5 must not protect passwords, signatures or downloads. Use SHA-256 or stronger.

What is CRC32 for, then?

Detecting accidental corruption — a flipped bit in a download or a bad disk read — not protecting against attackers. It's fast and cheap, which is exactly what it's for.