# Hash generator

Make MD5 and SHA hashes, and compare them

Use it at https://www.quicktoolz.com/tools/hash-generator. From QuickToolz.

A hash is a fixed-length fingerprint of some data. The same text always gives the same hash, and a tiny change gives a completely different one. Hashes can’t be reversed. MD5 and SHA-1 are broken for security, but still work as checksums. Use SHA-256 or stronger. Everything here runs in your browser.

## How it works

hash = a fixed-length fingerprint of your text. It can’t be reversed.

Text is turned into UTF-8 bytes first, so the result matches other tools. SHA hashes use your browser’s built-in cryptography.

To check a download, paste its published hash under Compare.

Worked example: The SHA-256 of “abc” always starts with ba7816bf. Change one letter and the whole hash changes.

## Examples

| Algorithm | Length | Use |
| --- | --- | --- |
| MD5 | 32 characters | Checksums only |
| SHA-1 | 40 characters | Old systems only |
| SHA-256 | 64 characters | General use |
| SHA-512 | 128 characters | General use |

## What this tool doesn't cover

- This handles text. Hashing files isn’t available yet.
- Don’t store passwords with these. Use a password hash such as Argon2 or bcrypt.

## Questions

### Can a hash be reversed?

No. But common inputs can be looked up, which is why short passwords aren’t safe.

### Why is MD5 marked Not for security?

Attackers can make two inputs with the same MD5, so it can’t prove anything. It’s fine as a simple checksum.

### Is my text uploaded?

No. Everything runs in your browser, and nothing is saved or sent.

### What is a hash?

A fixed-length fingerprint of data. The same input always gives the same result, and a tiny change gives a very different one.

### What is the difference between SHA-256 and MD5?

SHA-256 gives a longer hash and is still safe for checking data. MD5 is older, and people can now create clashes on purpose.

## Sources

- [RFC 1321: MD5](https://www.rfc-editor.org/rfc/rfc1321)
- [NIST FIPS 180-4: Secure Hash Standard](https://csrc.nist.gov/pubs/fips/180-4/upd1/final)