Hash Generator
Enter text to generate its MD5, SHA-1, SHA-256, and SHA-512 hashes. The text is hashed as UTF-8 inside your browser, so the values match what other standard tools produce.
About this Hash Generator
A hash function turns any amount of text into a short fixed-length fingerprint. The same input always produces the same fingerprint, while changing a single character produces a completely different one, and the process cannot be reversed to recover the original text. Type your text, press Generate Hashes, and the four most widely used values appear together so you can copy whichever one you need.
Your text is converted to UTF-8 bytes before hashing, which is what command line tools and programming libraries do. That means the values here match those from sha256sum, from Python's hashlib, or from a database function, including for accented characters and emoji. MD5 produces 32 hex characters, SHA-1 produces 40, SHA-256 produces 64, and SHA-512 produces 128.
Hashes are used to check that a download or a copied file arrived intact, to compare two pieces of content without storing them, to build cache keys and deduplicate records, and to verify a checksum published alongside a release. A common everyday use is confirming that a value you have been given matches the one you generated locally.
On security: MD5 and SHA-1 are included because plenty of existing systems and published checksums still use them, but both are broken for security purposes — it is practical to construct two different inputs with the same hash, so neither should be used for signatures or to verify that a file has not been tampered with. Prefer SHA-256 or SHA-512 for anything security related. Also note that no plain hash is suitable for storing passwords: that needs a slow, salted algorithm such as bcrypt, scrypt, or Argon2, because a fast hash can be guessed at enormous speed. Everything here runs locally and nothing you type is uploaded.