Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512, and CRC32 hashes from text or files, and verify checksums – securely in your browser.
Why Use This Tool?
Developers, security analysts, and system administrators frequently need to generate cryptographic digests to verify data integrity, test webhook signatures, or hash strings for comparison. Our free Hash Generator creates MD5, SHA-1, SHA-256, SHA-384, SHA-512, and CRC32 hashes from text or files in real time, signs data with HMAC, and checks a download against its published checksum.
Because all hashing is performed locally inside your browser, sensitive strings, keys, tokens, and files are never transmitted over the network.
How to Use This Tool
4 Quick StepsEnter Text or Add a File
Type or paste the text you want to hash, or switch to File and drop in any file up to 1 GB.
Choose Your Options
Pick hex or Base64 output, trim spaces, hash each line separately, or add a secret key for HMAC.
Get Every Digest
MD5, SHA-1, SHA-256, SHA-384, SHA-512, and CRC32 hashes appear instantly, with a security label for each.
Copy or Verify
Copy any hash, download them all, or paste an expected checksum to confirm the file or text matches.
Hash Generator
Create MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 hashes from text or files, make HMAC signatures, and check a file against its checksum.
Any file type, up to 1 GB each. Files are read on your device and never uploaded.
| Line | Hash |
|---|
The tool compares it with every hash above and tells you which algorithm matches. Capital letters and spaces are ignored.
Found this useful?
MD5 vs SHA-1 vs SHA-256 vs SHA-512
Every algorithm turns any input into a fixed-length string, but they differ in length and in how resistant they are to attacks. MD5 and SHA-1 are fast and still common in older systems, while SHA-256, SHA-384 and SHA-512 belong to the SHA-2 family and are the current standard for security-related work.
| Algorithm | Output Length | Security | Best Used For |
|---|---|---|---|
| MD5 | 128 bits (32 characters) | Broken | File checksums and non-security duplicate detection only |
| SHA-1 | 160 bits (40 characters) | Broken | Legacy systems and Git object IDs, not for new security uses |
| SHA-256 | 256 bits (64 characters) | Secure | File verification, digital signatures, APIs, and blockchains |
| SHA-384 | 384 bits (96 characters) | Secure | TLS certificates and systems that need a longer SHA-2 digest |
| SHA-512 | 512 bits (128 characters) | Secure | High-security applications and systems that need longer digests |
| CRC32 | 32 bits (8 characters) | Not a security hash | ZIP files and quick checks for accidental corruption |
One Letter Changes Everything
Hashing the word hello and the word Hello shows how sensitive hash functions are. Changing a single lowercase letter to uppercase produces a completely different result in every algorithm.
| Algorithm | hello (lowercase h) | Hello (capital H) |
|---|---|---|
| MD5 | 5d41402abc4b2a76b9719d911017c592 | 8b1a9953c4611296a827abf8c47804d7 |
| SHA-1 | aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d | f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 |
| SHA-256 | 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 | 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969 |
| CRC32 | 3610a686 | f7d18982 |
Frequently Asked Questions
Quick answers to common questions about generating and using hashes.
What is a hash?
A hash is a fixed-length string of characters created from any input text by a mathematical function. The same input always produces the same hash, but even a one-letter change produces a completely different result, which makes hashes useful for checking whether data has been altered.
Is hashing the same as encryption?
No. Encryption is two-way, so encrypted data can be decrypted with the right key. Hashing is one-way: there is no key to turn a hash back into the original text. Hashes are used to verify data, not to hide and later recover it.
Which hash algorithm should I use?
Use SHA-256 for most purposes, including file verification, API signatures, and data integrity checks. Use SHA-512 when you need a longer digest. Only use MD5 or SHA-1 when an older system requires them. For storing passwords, use a dedicated password hashing method such as bcrypt or Argon2 rather than a plain hash.
How do I check the checksum of a downloaded file?
Choose File, drop the downloaded file in, and paste the checksum from the download page into Verify a checksum. The tool compares it with every hash it made and tells you which algorithm matches. A match means the file is complete and has not been changed.
Can I hash large files?
Yes. Files up to 1 GB are hashed directly in your browser, with a progress bar for big files. Nothing is uploaded, so even large or private files stay on your device.
What is HMAC and when do I need it?
HMAC combines a hash with a secret key to create a signature. Services such as Stripe, Shopify and GitHub sign their webhooks with HMAC-SHA256, so you can paste the payload and your secret key to check that a request really came from them.
What is CRC32?
CRC32 is a short 8-character checksum used in ZIP files, network protocols and some download sites to catch accidental errors. It is fast but not secure, so never use it to protect against deliberate changes.
Is MD5 still secure?
No. MD5 is considered broken for security because attackers can create two different inputs with the same MD5 hash. It is still fine for non-security tasks, such as quick checksums to spot accidental file corruption.
Why doesn't my hash match the expected value?
Hashes change with every character, so check for extra spaces, a trailing line break, different capitalization, or a different text encoding. Turn on Trim spaces and line breaks to rule out invisible spaces, and make sure you are comparing hashes made with the same algorithm.
What is the difference between hex and Base64 output?
Both show the same hash in different ways. Hex uses the characters 0 to 9 and a to f and is the most common format. Base64 is shorter and is often used in HTTP headers and API signatures. Choose the one your system expects.
Can I hash a list of values at once?
Yes. Turn on Hash each line separately, paste one value per line, and choose an algorithm. Every line gets its own hash in a table you can copy or download, and the Verify box tells you which line matches a hash.
Is it safe to hash sensitive text with this tool?
Yes. All hashing runs locally in your browser, so your input text, keys, files and tokens are never sent over the network or stored on a server. The tool is also free with no signup.
Related Free Tools
These free tools work well alongside the Hash Generator. Like this one, they all run privately in your browser.