Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text.

MD5
SHA-1
SHA-256
SHA-384
SHA-512

How to use the hash generator

  1. Type or paste text into Text.
  2. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes appear as you type.
  3. Tick Uppercase if you need capital hex letters, and copy the hash you need.

Example

The text hello (no trailing newline) has these hashes:

  • MD5: 5d41402abc4b2a76b9719d911017c592
  • SHA-1: aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
  • SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Change one letter and every hash changes completely.

Frequently asked questions

What is a hash used for?

A hash function turns any input into a fixed-length fingerprint. The same text always gives the same hash, so it is useful for comparing content, building cache keys and checking downloads against a published checksum.

Which algorithm should I use?

Use SHA-256 or stronger for anything security-related. MD5 andSHA-1 are broken for security but still common as checksums. Never use a plain hash to store passwords; use bcrypt, scrypt or Argon2 instead.

Why does my hash differ from the command line?

Commands like echo hello | sha256sum include a trailing newline. Text here is hashed exactly as typed, as UTF-8, in your browser; it is never uploaded.