Skip to content
Shrake DevTools
  • JSON FormatterData & Format
  • JSON ValidatorData & Format
  • JSON MinifierData & Format
  • JSON ↔ YAML ConverterData & Format
  • Base64 Encoder / DecoderData & Format
  • URL Encoder / DecoderData & Format
  • UUID GeneratorData & Format
  • Unix Timestamp ConverterData & Format
↑ ↓ to navigate↵ to openEsc to close

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-512 and SHA-3 hashes of text or files, and verify checksums, in your browser.

Runs locally in your browser. Your input is not uploaded.Free, no sign-up

Text

MD5Not for securityd41d8cd98f00b204e9800998ecf8427e
SHA-1Not for securityda39a3ee5e6b4b0d3255bfef95601890afd80709
SHA-256e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA-38438b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
SHA-512cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
SHA3-256a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
SHA3-512a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26

How to use the hash generator

  1. Choose Text to hash what you type, or File to hash a file of any size.
  2. MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256 and SHA3-512 are calculated at once.
  3. Pick hex, uppercase hex or Base64 output, and copy any hash with one click.
  4. To verify a download, paste the published checksum into Compare. The matching algorithm is highlighted.

Which hash should I use?

  • SHA-256 is the default choice for checksums, signatures, content addressing and integrity checks.
  • SHA-384 and SHA-512 give a larger output and are often faster on 64-bit machines.
  • SHA3-256 and SHA3-512 use a different internal design (Keccak), useful where diversity from SHA-2 matters.
  • MD5 and SHA-1 are broken for security: attackers can create collisions. Use them only to match legacy checksums, never for signatures, certificates or passwords.

For passwords, use none of these. General-purpose hashes are designed to be fast, which makes passwords easy to brute-force. Use a password hashing function such as Argon2, bcrypt or scrypt.

Frequently asked questions

Is my text or file uploaded?

No. Hashing runs entirely in your browser. Files are read locally in chunks, so even very large files never leave your computer.

Why doesn't my hash match the one from the command line?

Text is hashed as UTF-8 exactly as typed. echo "text" | sha256sum adds a trailing newline, which changes the hash. Use echo -n or printf instead. Line endings (Windows CRLF vs LF) also change the result.

Can a hash be reversed?

No. Hash functions are one-way. Short or common inputs can still be guessed by trying many candidates, which is why passwords need a dedicated password hashing function.