Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file — all in your browser.

0 characters · 0 bytes

Hashes

MD5
SHA-1
SHA-256
SHA-384
SHA-512

Options

Letter case

Paste a hash to check it against the results.

About the Hash Generator

This free hash generator turns any text or file into its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once. A hash is a fixed-length fingerprint of your input: change a single character and the result changes completely, which makes hashes ideal for checking that a download, backup or message arrived exactly as intended. Type in the box for instant, live results, or switch to file mode to get the checksum of any document, image or installer.

Everything runs entirely in your browser — your text and files are never uploaded, so even sensitive data stays on your device and the tool works offline once loaded. Choose lowercase or uppercase hexadecimal or Base64 output, copy any hash with one click, and paste a published checksum into the compare box to verify a file and see exactly which algorithm it matches. Remember that MD5 and SHA-1 are fine for spotting accidental corruption but are not collision-resistant, so prefer SHA-256 or stronger for anything security-related — and never use a bare hash to store passwords.

Frequently asked questions

Answers to the questions we hear most about this tool.

What is the difference between MD5 and SHA-256?

MD5 and SHA-256 are both hash functions: they turn any input into a fixed-length "fingerprint" (32 hex characters for MD5, 64 for SHA-256). The difference is strength. MD5 is older and fast but cryptographically broken — it is possible to craft two different files with the same MD5 — so it should only be used for non-security checks like detecting accidental corruption. SHA-256 (part of the SHA-2 family, alongside SHA-384 and SHA-512) has no known practical collisions and is the modern default for integrity and signatures. This tool generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once so you can use whichever the situation calls for.

Can I use this to hash passwords?

No — a plain MD5 or SHA-256 hash is the wrong tool for storing passwords. Because these functions are fast and unsalted, an attacker who steals the hashes can test billions of guesses per second with rainbow tables. For passwords you should use a slow, salted password-hashing algorithm such as bcrypt, scrypt or Argon2. This generator is meant for file checksums, data integrity, cache keys, ETags, deduplication and verifying downloads — not for password storage.

How do I verify a file checksum or download?

Switch the input to "File", then choose or drag in the file you downloaded. The tool reads it locally and shows its MD5 and SHA hashes. Copy the checksum the publisher listed next to the download, paste it into the "Compare with a hash" box, and the matching algorithm row lights up with a "match" badge — telling you both that the file is intact and which algorithm the checksum used. Pasting in either hexadecimal or Base64 form works, and the comparison is case-insensitive for hex.

Are my text and files uploaded to a server?

No. Every hash is computed entirely in your browser using the built-in Web Crypto API (for the SHA family) and a small bundled library (for MD5). Your text and files never leave your device and nothing is sent over the network, so even sensitive documents stay private and the tool keeps working offline once the page has loaded.

Can I get the hash in uppercase or Base64?

Yes. By default hashes are shown as lowercase hexadecimal, but you can switch the letter case to UPPERCASE, or change the output format to Base64 — handy for things like Subresource Integrity (SRI) values and HTTP headers that expect Base64-encoded digests. Each hash has its own copy button, and "Copy all" grabs every algorithm at once.