Hash Generator MD5, SHA-1, SHA-256, SHA-512

Client-Side Processing

Calculate cryptographic hashes from text or files. Supports MD5, SHA-1, SHA-256, and SHA-512. All processing happens locally in your browser.

How to use Hash Generator

Your files stay private - everything is processed in your browser, nothing is uploaded.

  1. Enter text

    Type your text or upload a file to hash

  2. Select algorithm

    Choose from MD5, SHA-1, SHA-256, or SHA-512

  3. Copy hash

    Copy any of the generated hash values to your clipboard

When you need a digest, not a password

This page writes hashes. It does not store secrets and it does not crack them.

You want to check a download

Hash the file. Compare it to the publisher's SHA-256. A match means the bytes match.

You need a new account password

Use the password generator. Do not hash a weak phrase and call it done.

You want to recover the original text

You cannot. A hash is one way.

Which algorithm to pick

Hash vs a password

Stay on Hash Generator

Use Password Generator

A hash is not encryption

You cannot decrypt a hash. Collisions exist in theory. MD5 and SHA-1 have practical collision attacks. Prefer SHA-256 when the publisher gives you a choice.

Related tools

Make a password

Web Crypto random secret, not a hash.

Password generator

Encode text as Base64

Encoding is reversible. Hashing is not.

Base64 encoder

Frequently Asked Questions

What is a hash?

A fixed-length digest of the input. The same input always matches. A tiny change does not.

Which algorithm should I use?

SHA-256 for most checks. SHA-512 if you want a longer SHA-2 digest. MD5 and SHA-1 only to match an old published checksum.

Can a hash be reversed?

No. That is the point. You compare hashes. You do not recover the file.

Why not MD5?

MD5 has known collisions. Use it only when a publisher still prints an MD5.

How do I verify a download?

Hash your file. Compare it to the published digest. If they match, the bytes match.

What is a collision?

Two different inputs with the same digest. SHA-256 makes that impractical. MD5 and SHA-1 do not.

Does the file leave my device?

No. Hashing runs in the browser.

Can I hash a file, not just text?

Yes. Drop a local file.

Is this a password tool?

No. Use Password Generator for a new secret.

Do you store the input?

No. Closing the tab drops it.

Is hashing the same as encryption?

No. Encryption can be reversed with a key. A hash cannot.