Hash generator.

Calculate SHA-family hashes of text or files with your browser’s built-in Web Crypto API, add a key for HMAC, and compare against an expected checksum.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

Results

More security tools · All 55 free tools

How to use it

  1. Type or paste text, or choose a file (up to 200 MB).
  2. Read the SHA-1, SHA-256, SHA-384 and SHA-512 results; they update as you type.
  3. Add a secret key to calculate HMACs instead of plain hashes.
  4. Paste a published checksum into “Expected hash” to confirm a download has not been altered.

Questions

Why is there no MD5?

The browser’s Web Crypto API does not offer MD5 because it is broken for security purposes. For file checksums, SHA-256 is the usual choice today.

Can I hash passwords with this?

Don’t store passwords as plain SHA hashes. Fast hashes are easy to brute-force; use a slow, salted algorithm such as Argon2id, bcrypt, scrypt or PBKDF2 on your server.

Is my file uploaded?

No. The file is read into memory on this page and hashed by your browser.

Is SHA-1 still safe?

Not for security: practical collisions have been demonstrated. It is shown for compatibility with older systems such as legacy checksums and Git object IDs.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project