🔐 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.

Compute Hash
Compute Hash from File
Batch Hash (one per line)

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?

AlgorithmDigest lengthUse it for
MD5128-bit (32 hex)Checksums, cache keys, matching hashes published by older download pages. Not collision-resistant — never use it to prove authenticity.
SHA-1160-bit (40 hex)Legacy systems and Git object IDs. Deprecated for signatures.
SHA-256256-bit (64 hex)The sensible default: release artifacts, integrity checks, signatures, password-derived values.
SHA-384 / SHA-512384 / 512-bitWhere a longer digest is required by policy, or to match a vendor-published checksum.

How to Verify a Downloaded File

  1. Copy the checksum the vendor published (usually a SHA256 or MD5 line).
  2. Open the Hash tab here, choose that file, and wait for the digest list to appear.
  3. Compare character by character — a single changed digit means the download was corrupted or tampered with.
  4. 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

← Back to Tools