🔐 Hash Generator — MD5, SHA-1, SHA-256, SHA-384, SHA-512
Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes for text, a batch of lines or a whole file. All processing happens in your browser — nothing is sent to any server.
Need UUIDs, GUIDs, NanoID or ULID instead? Use the dedicated UUID Generator — it covers six ID formats and bulk generation.
What This Hash Generator Does
Paste any text, a list of values or drop in a file and the page prints the digest for every algorithm you pick: MD5, SHA-1, SHA-256, SHA-384 and SHA-512. Hashing runs locally — MD5 through an in-page RFC 1321 implementation, the SHA family through the browser's native crypto.subtle digest — so nothing you type is uploaded anywhere.
Three modes cover the usual jobs: a single Hash for one string, Batch Hash for one value per line (useful for checking a list of API keys, emails or tokens against a known set), and file hashing which shows the MD5, SHA-256 and SHA-512 of an uploaded file next to its size.
Which Algorithm Should You Use?
| Algorithm | Digest length | Use it for |
|---|---|---|
| MD5 | 128-bit (32 hex) | Checksums, cache keys, matching hashes published by older download pages. Not collision-resistant — never use it to prove authenticity. |
| SHA-1 | 160-bit (40 hex) | Legacy systems and Git object IDs. Deprecated for signatures. |
| SHA-256 | 256-bit (64 hex) | The sensible default: release artifacts, integrity checks, signatures, password-derived values. |
| SHA-384 / SHA-512 | 384 / 512-bit | Where a longer digest is required by policy, or to match a vendor-published checksum. |
How to Verify a Downloaded File
- Copy the checksum the vendor published (usually a
SHA256orMD5line). - Open the Hash tab here, choose that file, and wait for the digest list to appear.
- Compare character by character — a single changed digit means the download was corrupted or tampered with.
- Only then run the installer. If the values differ, download the file again from the official source.
Because the computation happens in your browser, the file never travels to a server — which matters when the file is not something you would upload to a third party in the first place.
Frequently Asked Questions
Is this hash generator free and private?
Yes. There is no sign-up, no usage limit and no server involved. MD5 is computed by an in-page implementation of RFC 1321 and the SHA family uses the browser's built-in Web Crypto API, so the text or file you hash never leaves your device.
Which hash algorithm should I use?
Use SHA-256 (or SHA-512) for anything security-related, such as signatures, integrity checks or password-derived values. SHA-1 is legacy and should only be used to match a hash a legacy system already produced. MD5 is still fine for detecting accidental corruption and for matching values published by older download pages, but it is not collision-resistant and must not be used to prove authenticity.
Can I generate an MD5 hash of a file?
Yes. Open the Hash tab, choose a file and the page prints its MD5, SHA-256 and SHA-512 digests together with the file size, so you can compare them against the checksums a vendor published.
What is the difference between hashing and encryption?
Encryption is reversible with the right key, hashing is one-way. A hash proves that an input has not changed (integrity) or stores a derived value such as a password digest; it cannot be turned back into the original input.
Related Tools
- UUID Generator — UUID v1/v4/v7, GUID, NanoID and ULID with bulk generation.
- JWT Decoder & Debugger — Decode a JWT and verify its HMAC or RSA/ECDSA signature.
- Base64 Encoder — Encode values to standard Base64 or URL-safe base64url.
- CIDR / Subnet Calculator — Work out the address range a firewall rule covers.
- Security & Testing Tools — more tools for hashing, decoding and verifying credentials.