Developer Tool · Instant · Free

Hash Generator.
MD5, SHA & More.

Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes from text. Uses Web Crypto API — everything runs in your browser.

Hash Generator

MD5—
SHA-1—
SHA-256—
SHA-384—
SHA-512—
Multiple Algorithms
MD5, SHA-1, SHA-256, SHA-384, SHA-512 — all at once.
Web Crypto API
Uses native browser crypto for fast, secure hashing.
Private
Text never leaves your browser. No server processing.

How to Generate Hashes Online

1
Enter your text

Type or paste the text you want to hash into the input field above.

2
View hash values

The tool instantly calculates multiple hash values — MD5, SHA-1, SHA-256, and more — all at once.

3
Copy the hash

Click Copy next to any hash value to copy it to your clipboard.

What a hash is good for

A hash function turns any text into a fixed-length fingerprint. The same input always gives the same fingerprint; changing a single character gives a completely different one; and the fingerprint cannot be turned back into the text.

The five algorithms, with the hash of the word "hello"

AlgorithmLengthHash of "hello" (start)Status
MD532 hex characters5d41402abc4b2a76…Broken for security; fine for spotting accidental changes
SHA-140aaf4c61ddcc5e8a2…Broken for security; still used by Git
SHA-256642cf24dba5fb0a30e…Current standard
SHA-3849659e1748777448c69…Secure; used in some certificates
SHA-5121289b71d224bd62f378…Secure; fast on 64-bit processors
  • Every character counts, including capital letters, spaces and line breaks. Hello and hello have unrelated hashes, and a trailing space or a newline at the end changes the result completely. That is the usual reason a hash "does not match".
  • Text is hashed as UTF-8, the encoding nearly all systems use, so results agree with sha256sum, PHP, Python and other tools for the same text.
  • This page hashes text, not files. To verify a download, use the command line: sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows.

Which one to use

  • SHA-256 whenever you have a choice: checksums, signatures, API request signing.
  • MD5 or SHA-1 only when an older system demands them. Two different inputs with the same MD5 can be manufactured on purpose, so they prove nothing against a deliberate attacker.
  • None of these for storing passwords. They are designed to be fast, which lets an attacker test billions of guesses per second against a stolen database. Password storage needs deliberately slow functions such as bcrypt or Argon2, with a salt. Our password security guide explains why.

The hashes are calculated in your browser; the text you enter is not sent to our server.

Frequently Asked Questions

Which hash algorithm should I use?

For security purposes (passwords, integrity checks), use SHA-256 or SHA-512. MD5 and SHA-1 are considered insecure for cryptographic use but are still fine for non-security checksums.

Can I reverse a hash to get the original text?

No. Hash functions are designed to be one-way. You cannot mathematically reverse a hash.

Why does MD5 produce a shorter hash than SHA-256?

MD5 produces a 128-bit (32 character hex) hash, while SHA-256 produces a 256-bit (64 character hex) hash. The longer hash provides exponentially more possible combinations.

Is this tool safe for generating password hashes?

This tool is for educational purposes and quick checksums. For production password hashing, use dedicated algorithms like bcrypt, scrypt, or Argon2.