Open huge JSON files instantly. Free & private.🔒 Your data never leaves your browser

Hash Generator

Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes or HMAC of text and files, and verify a checksum. Runs in your browser.

Text (UTF-8)
MD5
SHA-1
SHA-256
SHA-384
SHA-512

Which hash should I use?

  • SHA-256 is the safe default for checksums, signatures and APIs.
  • MD5 and SHA-1 are broken for security (collisions can be made on purpose). Use them only to match old checksums, never for passwords or signatures.
  • HMAC mixes in a secret key, so only someone with the key can make the same value. Webhooks (Stripe, GitHub, Shopify) use HMAC-SHA256 to sign requests.
  • For passwords, use a slow password hash like bcrypt, scrypt or Argon2 instead of any of these.

Verify a downloaded file

Open the file, then paste the checksum from the download page into Compare with. A green ✓ means the file is exactly the one that was published. The same check on the command line:

# macOS / Linux
shasum -a 256 file.zip
md5 file.zip              # Linux: md5sum file.zip

# Windows PowerShell
Get-FileHash file.zip -Algorithm SHA256

Hash text in code

Node.js   crypto.createHash('sha256').update('hello world').digest('hex')
Python    hashlib.sha256('hello world'.encode()).hexdigest()
Go        fmt.Sprintf("%x", sha256.Sum256([]byte("hello world")))
HMAC      crypto.createHmac('sha256', key).update(body).digest('hex')        // Node.js
          hmac.new(key.encode(), body.encode(), hashlib.sha256).hexdigest()  # Python

Text is hashed as UTF-8, the same as these examples. Everything runs in your browser; your text, files and keys are never uploaded.

More free tools