Hash Generator: MD5, SHA-1, SHA-256, SHA-384, SHA-512

Generate cryptographic hashes from any text or file in your browser. Five algorithms at once, hex or Base64 output, built-in checksum verification, and zero uploads. Works on text, code, downloads, and any binary file your browser can read.

0 characters
Output:
Case:
MD5 32 hex chars (16 bytes)
SHA-1 40 hex chars (20 bytes)
SHA-256 64 hex chars (32 bytes)
SHA-384 96 hex chars (48 bytes)
SHA-512 128 hex chars (64 bytes)
Pixellize free online tools illustration showing browser, file, and gear icons

Five hash algorithms, computed locally in your browser

Hashes are one-way fingerprints of data. Pass any input through a hash function and you get back a fixed-length string that changes completely if even a single byte of the input changes. They are how downloads are verified, how passwords are stored, how files are deduped, and how blockchains chain together.

This tool produces all five common digests at once, MD5 for legacy compatibility, SHA-1 for older systems, and SHA-256, SHA-384, and SHA-512 for modern security work. SHA computations use the browser native Web Crypto API. MD5 runs through a compact built-in implementation. Every byte stays on your machine, nothing is uploaded, no analytics fire on the values you compute.

What this Hash Generator gives you

Five algorithms at once

MD5, SHA-1, SHA-256, SHA-384, SHA-512. No need to switch tools or modes, all five outputs update at the same time as you type or pick a file.

Live, no submit button

Output recomputes on every keystroke. Useful when you are testing collisions, comparing similar inputs, or watching how a single character flip changes the entire digest.

File hashing without uploads

Drop any file into the File tab. The browser reads it directly with FileReader and the bytes go through the same five algorithms. Works for downloads, ISOs, archives, anything your browser can open.

Built-in verify mode

Paste the expected checksum from a release page. The tool detects the algorithm by its length and shows a Match or No-match badge next to the matching algorithm row. No manual eyeballing.

Hex or Base64, your choice

Switch the output format with a single click. Hex supports both lowercase and UPPERCASE so you can match whatever the receiving system expects.

Private by design

Every byte stays in your browser. SHA computations use the native Web Crypto API. MD5 runs through a small inline implementation. No analytics record the values, no servers see them.

Hash Generator FAQ

Which hash algorithm should I use?
For new work, default to SHA-256. It is fast, well supported, and considered secure for general checksumming and integrity checks. Use MD5 or SHA-1 only when you must match a legacy system, and never for password hashing or anything security-critical. SHA-384 and SHA-512 are useful when you need a longer digest or want extra safety margin.
Why does my output differ from the command line?
Two common reasons. First, line endings: pasting text that should end in a newline often loses it in the textarea, while the file you fed to the CLI may have a trailing LF. Second, encoding: this tool encodes text as UTF-8, which matches most CLI tools but not all. Switch to File mode and drop the actual file to bypass both issues.
Is my input sent to a server?
No. SHA-1, SHA-256, SHA-384 and SHA-512 are computed by your browser using the Web Crypto API. MD5 runs through a built-in JavaScript implementation. The text or file you provide never leaves your device. Refresh the page and the values are gone.
How big can the file be?
In practice, files up to a few hundred MB work fine on a modern device. The constraint is your browser memory rather than the tool itself. For multi-gigabyte files, a CLI like sha256sum or shasum is faster and lighter.
Can I use this for password storage?
No. A plain hash is the wrong primitive for storing passwords because it is fast and unsalted. Use a purpose-built password hashing function such as bcrypt, scrypt, or Argon2 in your application. This tool is for checksums, file integrity, deduplication, and similar non-secret use cases.
How does verify mode know which algorithm I pasted?
It looks at the character count after stripping spaces, dashes, and colons. MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96, and SHA-512 is 128. The matching algorithm row gets a green Match or red No-match badge, depending on whether the pasted hash equals the freshly computed one.
Scroll to Top