Tools

Hash generator: MD5, SHA-1, SHA-256, SHA-512

Compute a checksum of any text, in your browser, in five algorithms.

Runs in your browserHashing and encryption16.4K
Free

Input

0 BFree up to 20.0 KB

Result

The result will appear here.

Your runs

Only runs that cost points are saved.

Sign in to keep a history of your runs.

Verify a download, reproduce an ETag, or check that two strings a vendor claims are identical really are. MD5 and SHA-1 are here because other people's systems still emit them and you need to read those values, not because you should choose them for anything new. SHA-256 and above are computed by the browser's own WebCrypto implementation.

How it works

  • SHA-1 through SHA-512 use WebCrypto — the same primitives the browser uses for TLS.
  • MD5 is implemented here directly, because WebCrypto deliberately refuses to offer it.
  • Input is hashed as UTF-8 bytes, which is what almost every other tool means by hashing a string.

Where your data goes

Nowhere. This tool runs entirely in your browser: the text you paste is processed by the page and is never transmitted to a server or written to a log.

When a run costs points, a one-line summary is saved to your own history so you can find it again. The summary records the shape of the run — sizes, counts, the values you looked up — never the content you pasted.

What it costs

Free up to 20.0 KB per run without an account. Past that, a run costs 1 points and is saved to your history.

Points come from signing up, checking in daily, commenting and completing your profile.

See how points work

Common questions

Is MD5 safe to use?
Not for anything security-related. Practical collisions have been demonstrated since 2004, so an attacker can construct two different inputs with the same MD5. It remains fine as a non-adversarial checksum — deduplicating files, cache keys, matching a value a legacy API sends you.
My hash does not match the one my server produced.
Almost always a difference in the bytes, not the algorithm. Check for a trailing newline, CRLF versus LF line endings, or a different text encoding. This tool hashes exactly what is in the box, as UTF-8.
Can I hash a file?
Not in this tool, which takes text. Your operating system already ships one: shasum -a 256 on macOS and Linux, or Get-FileHash in PowerShell.

The open-source behind it

This tool is a self-contained implementation. brix/crypto-js (MIT) does the same job as a library — if you need this behaviour inside your own program, start there rather than calling a web page.

brix/crypto-js

Also known as

  • md5 generator
  • sha256 hash
  • hash generator online
  • sha512
  • checksum calculator
  • sha1 hash