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
How to use it
- Type or paste text, or choose a file (up to 200 MB).
- Read the SHA-1, SHA-256, SHA-384 and SHA-512 results; they update as you type.
- Add a secret key to calculate HMACs instead of plain hashes.
- 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.
Read more
Developer guidesEncoding vs hashing vs encryption: what’s the difference?
A plain-English explanation of encoding (Base64, URL encoding, UTF-8), hashing (SHA-256, HMAC, password hashing) and encryption (symmetric, asymmetric, TLS) — and the mistakes to avoid.
Security & privacyWebsite security checklist for small businesses
A practical security checklist for small business websites — accounts and passwords, updates, backups, HTTPS and security headers, forms and spam, hosting, payments, monitoring and what to do after a breach.
Related tools
- Security
Password generator
Generate strong random passwords with your browser’s cryptographic generator. Nothing is stored.
Open - Developer
UUID generator
Generate random v4 or time-ordered v7 UUIDs in bulk, and inspect any UUID.
Open - Developer
Base64 encoder & decoder
Encode text or files to Base64 and decode it back, with UTF-8 and URL-safe support.
Open