Skip to main content
Tools

Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text at once, and check them against an expected value.

Output format

0 characters · 1 line

Hashes

MD5Insecure
Computing…
SHA-1Insecure
Computing…
SHA-256
Computing…
SHA-384
Computing…
SHA-512
Computing…

MD5 and SHA-1 can be deliberately collided. Use them only to detect corrupted files, never for passwords or signatures.

How to use

  1. Paste or type into “Input text”, or click “Example” to try it.
  2. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 are computed instantly, all at once.
  3. Choose an output format: lowercase hex, uppercase hex or Base64.
  4. To verify a checksum, paste the expected value into “Compare with a hash” to see whether it matches and which algorithm it is.
  5. Click “Copy” on a row, or “Copy all” to grab every result.

FAQ

Is my data uploaded?

No. Hashes are computed on your device with the browser’s built-in Web Crypto. Your data never leaves your device, and the tool even works offline.

Why does my result differ from a command-line tool?

Usually because of a trailing newline: echo "abc" | sha256sum also hashes a line break, so use echo -n or printf instead. This tool hashes the UTF-8 bytes of your text and treats line breaks as LF (\n), so a file with CRLF line endings gives a different result.

Can a hash be turned back into the text?

No. Hashing is one-way. Simple passwords can still be guessed with lookup tables, though, so store passwords with a dedicated algorithm such as bcrypt, scrypt or Argon2.

Are MD5 and SHA-1 still safe to use?

They are fine for spotting corrupted downloads, but both have practical collision attacks, so never use them for signatures, certificates or password storage. Use SHA-256 or stronger for new systems.

How do I hash a file?

This tool hashes text only. For files, use the File Hash Checker, which handles large files and compares them with the published value.

Keyboard shortcuts

/
Search tools (on a tool page, goes to the homepage search)
?
Show this help
Esc
Close a dialog
Ctrl / ⌘Enter
Run the tool's main action (where supported)

While you type in a text field, / and ? are typed as usual.