Hash Generator (MD5, SHA-256)

Get the MD5 and SHA hashes of text or a file, and check a download against the checksum its publisher gives.

Files never leave your device Free, no sign-up

    Hashed in your browser. Your text and files are never uploaded.

    How to use the hash generator

    1. Type or paste text, or choose a file. Every hash appears at once.
    2. Checking a download? Paste the checksum from the download page into "Check against a checksum". A tick means the file is exactly the one the publisher made.
    3. Press "Copy" next to the hash you need.

    What is a hash?

    A hash function turns any amount of data into a short, fixed-length fingerprint. The same input always gives the same hash, and changing a single character gives a completely different one, so hashes are used to check files haven't been damaged or changed.

    "hello" MD5 5d41402abc4b2a76b9719d911017c592 SHA-1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 "Hello" (capital H) gives a completely different SHA-256: 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969

    SHA hashes come from your browser's built-in cryptography (crypto.subtle). Browsers don't include MD5, so we calculate it ourselves following its standard (RFC 1321), and we test it against a well-known implementation.

    Frequently asked questions

    Which hash should I use?

    Use SHA-256 (or SHA-384 / SHA-512) for anything new. MD5 and SHA-1 are broken for security: people can make two different files with the same hash. They're still fine for spotting accidental damage, and many older download pages still list them.

    Can I hash passwords with this?

    Not for storing them. A plain hash of a password can be cracked quickly by guessing. Password storage needs a slow, salted method such as bcrypt, scrypt or Argon2, done by your server's software.

    Can a hash be turned back into the text?

    No. A hash is one-way. People can only guess inputs and compare hashes, which is why short or common inputs are easy to find.

    Keep going

    Related tools

    All Developer tools

    Disclaimer: results are estimates for planning only and are not tax, legal or financial advice. Rules and rates vary by country, state and personal situation. Check with a qualified accountant before making decisions. Read the full disclaimer.

    Last updated: