ToolWren logo ToolWren
ToolWren › Hash

Hash Generator

Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of any text as you type. SHA hashes use the browser's native Web Crypto API for correctness and speed.

100% client-side · nothing is uploaded

Loading tool…

How to use the Hash

  1. Type or paste text into the Input box, or click Hash a file to hash a local file.
  2. Toggle Uppercase or switch the output to Base64 if needed, and enable HMAC with a secret key for keyed hashing.
  3. All hashes (MD5, SHA-1/256/384/512, CRC32) compute instantly; click Copy on any of them.
  4. Paste a known hash into Compare to verify it against the results.

Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.

About Hash

What is a hash?

A cryptographic hash function maps input of any size to a fixed-length string (the digest). The same input always yields the same digest, and even a tiny change produces a completely different one — useful for integrity checks and fingerprints.

Choosing an algorithm

Use SHA-256 or SHA-512 for security-sensitive work. MD5 and SHA-1 are broken for security but still appear in checksums and legacy systems, so we include them for compatibility.

Hashing is one-way

You cannot reverse a hash back to the original text. To compare values, hash the candidate and compare digests.

Frequently asked questions

Is MD5 safe to use?
Not for security — MD5 and SHA-1 are vulnerable to collisions. Use them only for non-security checksums; prefer SHA-256+ otherwise.
Are the hashes computed locally?
Yes. SHA hashes use the Web Crypto API and MD5 is computed in JavaScript — nothing is uploaded.
Why do hashes look different elsewhere?
Make sure the input is byte-identical (watch for trailing newlines or different encodings). This tool hashes the UTF-8 bytes of your text.

Related tools