Hash Generator
Calculate cryptographic hashes of any text or file directly in your browser. SHA hashes use the built-in Web Crypto API and MD5 is computed in chunks so large downloads can be checked. Paste the checksum published by a download site to confirm your file is intact, in hex or Base64.
How to use the Hash Generator
- Choose Text or File and select the algorithms you need.
- Type text, or drop a file up to 200 MB.
- Pick hex, uppercase HEX or Base64 output.
- Paste an expected checksum to see whether it matches.
- Copy or download the list of hashes.
Features
- MD5, SHA-1, SHA-256, SHA-384 and SHA-512
- Live hashing of UTF-8 text
- Files up to 200 MB with progress indicator
- Hex, uppercase hex and Base64 output
- Checksum comparison that accepts "sha256:" prefixes and file names
Benefits
- Verify downloads against the publisher’s checksum
- Generate fingerprints for caching and deduplication
- Files are hashed locally and never uploaded
Frequently asked questions
Which algorithm should I use?
Use SHA-256 for new work. MD5 and SHA-1 are still fine for detecting accidental corruption but are broken for security purposes such as signatures.
Can I hash passwords for storage with this?
No. Plain SHA or MD5 hashes are too fast for password storage. Use a dedicated slow algorithm such as bcrypt, scrypt or Argon2 on your server.
Why does my hash differ from another tool’s?
Text is hashed as UTF-8 exactly as typed. Extra spaces, a trailing newline or a different encoding produce a completely different hash.
Is there a file size limit?
Files up to 200 MB are accepted. Very large files need enough free memory because SHA hashing reads the whole file at once.
Related tools
- Password Generator — Create strong random passwords from 4 to 128 characters with your choice of character types, plus entropy and strength.
- Percentage Calculator — Work out X% of Y, what percent one number is of another, percentage change, or increase and decrease a value by a percent.
- Loan EMI Calculator — Calculate the monthly EMI for any loan, plus total interest, total payment and a year-by-year repayment breakdown.
- Invoice Generator — Create a professional invoice with your details, line items, discounts, tax and shipping, then download it as a PDF or print it.
- Word Counter — Count words, characters, sentences and paragraphs live, with reading time and top keywords.
- Character Counter — Count characters with and without spaces, letters, digits and UTF-8 bytes, with live limit bars for X, SMS, titles and meta descriptions.