Hash Generator
MD5, SHA-1, SHA-256, SHA-384 & SHA-512 of text or files.
A hash is a fixed-length fingerprint generated from any text or file — the same input always produces the same hash, but you cannot reverse it back to the original. This hash generator creates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes (with HMAC), switches between hex and Base64 output, and verifies whether a given hash matches your input. Runs fully in your browser — nothing is uploaded.
How to use Hash Generator
Enter your input
Type or paste text into the box, or switch to File mode to upload any file you want this free online hash generator to fingerprint in your browser.
Pick output format
Choose hex or Base64 for the digests and toggle uppercase hex so the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 output matches the format your system expects.
Enable HMAC if needed
Tick the HMAC option and enter a secret key to compute keyed SHA digests instead of plain hashes, instantly proving both integrity and authenticity of your data.
Read the hashes
Every algorithm is hashed at once and shown live, with weak algorithms flagged so you can pick a strong SHA-256 hash for checksums and fingerprints.
Copy a digest
Click the copy icon beside any hash to grab that exact MD5 or SHA fingerprint for a download checksum, signature or database record in one tap.
Verify a hash
Paste a published hex hash into the Verify box and the tool instantly matches it against your input, confirming a file checksum or integrity check is intact.
Frequently asked questions
What is a hash generator and what is it used for?
A hash generator turns any text or file into a fixed-length fingerprint using a cryptographic algorithm such as MD5, SHA-1 or SHA-256. It is used to verify file integrity, build download checksums, deduplicate data and create message signatures, because the same input always produces the same hash.
How do I generate an MD5, SHA-1 or SHA-256 hash online?
Type or paste your text, or upload a file, and this free online hash generator instantly computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests at the same time. You can copy any hash, switch between hex and Base64 output, and toggle uppercase hex.
Can a hash be reversed or decrypted back to the original text?
No. Hashing is a one-way function, so a hash can never be turned back into the original text or file. In practice you 'reverse' a hash only by hashing a guess and checking whether it matches, which is what the Verify a hash box does.
How do I verify a file checksum against a known SHA-256 hash?
Upload the file or paste its contents, then paste the published SHA-256 checksum into the Verify a hash field. The tool normalises and compares it against every computed digest and shows a green match badge on the algorithm that fits, confirming the download is intact.
What is HMAC and how is it different from a plain hash?
HMAC is a keyed hash that mixes a secret key with your data to produce a message authentication code, proving both integrity and authenticity. Enable the HMAC option, enter a secret key, and the generator computes keyed SHA digests instead of plain hashes (MD5 is unavailable in HMAC mode).
Should I use MD5 or SHA-1 to store passwords?
No. MD5 and SHA-1 are fast and flagged as weak, which makes them unsafe for password storage. Use a slow, salted algorithm like bcrypt for passwords; reserve MD5, SHA-1 and SHA-256 for checksums, fingerprints and integrity checks.
What is the difference between MD5, SHA-1 and SHA-256?
MD5 (128-bit) and SHA-1 (160-bit) are older and considered cryptographically weak, so they're fine for quick checksums but not for security. SHA-256, SHA-384 and SHA-512 (the SHA-2 family) are stronger and recommended for integrity checks and signatures. This tool computes all of them at once so you can compare.
How do I generate a checksum for a downloaded file?
Upload the file and the generator computes its MD5, SHA-1 and SHA-256 checksums entirely in your browser. Compare the result against the checksum the publisher lists — if they match, the download wasn't corrupted or tampered with. Paste the published hash into the Verify box for an automatic match check.
Is this hash generator free and is my data uploaded?
Yes, it is free and private. All hashing runs 100% in your browser using the Web Crypto API, so your text and files never leave your device — you can even hash large files offline once the page has loaded.
Related tools — Security & Encoding
- Password Generator — Secure random passwords & memorable passphrases.
- Password (bcrypt) — Generate & verify salted bcrypt password hashes.
- Base64 Encode / Decode — Encode and decode Base64, Hex, URL, HTML, ROT13 & Binary.